Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for multiValued (0.07 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy

        private final TypeMetaData type
        private boolean multiValued
    
        BlockDoc(MethodDoc blockMethod, PropertyDoc blockProperty, TypeMetaData type, boolean multiValued) {
            this.blockMethod = blockMethod
            this.type = type
            this.blockProperty = blockProperty
            this.multiValued = multiValued
        }
    
        BlockDoc forClass(ClassDoc referringClass) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                                || type.getName().equals("java.util.Iterable")) {
                            type = type.getTypeArgs().get(0);
                            multiValued = true;
                        }
                        classDoc.addClassBlock(new BlockDoc(methodDoc, property, type, multiValued));
                    } else {
                        classDoc.addClassMethod(methodDoc);
                        signatures.add(method.getOverrideSignature());
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            doc.classBlocks[0].name == 'block'
            doc.classBlocks[0].type.signature == 'org.gradle.Type'
            !doc.classBlocks[0].multiValued
    
            doc.classBlocks[1].name == 'listBlock'
            doc.classBlocks[1].type.signature == 'BlockType'
            doc.classBlocks[1].multiValued
        }
    
        def classMetaData(String name = 'org.gradle.Class') {
            ClassMetaData classMetaData = Mock()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            _ * blockDoc.type >> new TypeMetaData(args.type ?: 'BlockType')
            _ * blockDoc.blockProperty >> blockPropDoc
            _ * blockDoc.multiValued >> (args.multivalued ?: false)
            blockDoc
        }
    
        def extensionDoc(Map<String, ?> args = [:], String name) {
            ClassExtensionDoc doc = Mock()
            doc.pluginId >> name
            doc
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
Back to top