Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for classBlocks (0.11 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            doc.classMethods.size() == 3
    
            doc.classBlocks.size() == 2
            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
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlocksRenderer.java

            Element title = document.createElement("title");
            summarySection.appendChild(title);
            title.appendChild(document.createTextNode("Script blocks"));
    
            Collection<BlockDoc> classBlocks = classDoc.getClassBlocks();
            if (!classBlocks.isEmpty()) {
                Element table = document.createElement("table");
                summarySection.appendChild(table);
    
                title = document.createElement("title");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        void addClassMethod(MethodDoc methodDoc) {
            classMethods.add(methodDoc.forClass(this))
        }
    
        Collection<BlockDoc> getClassBlocks() { return classBlocks }
    
        void addClassBlock(BlockDoc blockDoc) {
            classBlocks.add(blockDoc.forClass(this))
        }
    
        Collection<ClassExtensionDoc> getClassExtensions() { return classExtensions }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy

            }
            return methods.sort { it.metaData.overrideSignature }
        }
    
        List<BlockDoc> getExtensionBlocks() {
            List<BlockDoc> blocks = []
            mixinClasses.each { mixin ->
                mixin.classBlocks.each { block ->
                    blocks << block.forClass(targetClass)
                }
            }
            extraBlocks.each { block->
                blocks << block.forClass(targetClass)
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.5K bytes
    - Viewed (0)
Back to top