Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for classDoc (0.05 sec)

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

        private final Element methodsTable
        private final Element propertiesSection
        private final Element methodsSection
        ClassDoc superClass
        List<ClassDoc> interfaces = []
        List<ClassDoc> subClasses = []
        List<Element> comment = []
    
        ClassDoc(String className, Element classContent, Document targetDocument, ClassMetaData classMetaData, ClassExtensionMetaData extensionMetaData) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                        }
                        classDoc.addClassBlock(new BlockDoc(methodDoc, property, type, multiValued));
                    } else {
                        classDoc.addClassMethod(methodDoc);
                        signatures.add(method.getOverrideSignature());
                    }
                }
            }
    
            for (ClassDoc supertype : classDoc.getSuperTypes()) {
    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/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocSuperTypeBuilder.java

         */
        void build(ClassDoc classDoc) {
            ClassMetaData classMetaData = classDoc.getClassMetaData();
            String superClassName = classMetaData.getSuperClassName();
            if (superClassName != null) {
                // Assume this is a class and so has implemented all properties and methods somewhere in the superclass hierarchy
                ClassDoc superClass = model.getClassDoc(superClassName);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            extensionMetaData.addMixin('a', 'org.gradle.ExtensionA2')
            extensionMetaData.addMixin('b', 'org.gradle.ExtensionB')
            ClassDoc extensionA1 = classDoc('org.gradle.ExtensionA1')
            ClassDoc extensionA2 = classDoc('org.gradle.ExtensionA2')
            ClassDoc extensionB = classDoc('org.gradle.ExtensionB')
            _ * docModel.getClassDoc('org.gradle.ExtensionA1') >> extensionA1
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            PropertyMetaData propertyB = property('b', classMetaData, comment: 'prop b')
            ClassDoc superDoc = classDoc('org.gradle.SuperClass')
            PropertyDoc propertyDocA = propertyDoc('a')
            PropertyDoc propertyDocC = propertyDoc('c')
    
            ClassDoc superType1 = classDoc("org.gradle.SuperType1")
            ClassDoc superType2 = classDoc("org.gradle.SuperType2")
    
            def content = parse('''
    <section>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            String className = typeTr.td[0].text().trim()
            gradlebuild.docs.dsl.docbook.model.ClassDoc classDoc = model.getClassDoc(className)
            typeTr.children = {
                td {
                    link(linkend: classDoc.id) { literal(classDoc.simpleName) }
                }
                td(classDoc.description)
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                </chapter>
            ''')
    
            ClassDoc classDoc = classDoc('org.gradle.Class', id: 'classId', content: sourceContent, comment: 'class comment')
            _ * classDoc.classProperties >> []
            _ * classDoc.classMethods >> []
            _ * classDoc.classBlocks >> []
            _ * classDoc.classExtensions >> []
            _ * classDoc.subClasses >> []
    
            when:
            def result = parse('<root/>')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            MethodDoc methodC = methodDoc('c')
            MethodDoc methodD = methodDoc('d')
            MethodDoc methodE = methodDoc('e')
            ClassDoc superClass = classDoc('org.gradle.SuperClass')
            ClassDoc superType1 = classDoc("org.gradle.SuperType1")
            ClassDoc superType2 = classDoc("org.gradle.SuperType2")
    
            def content = parse('''
    <section>
        <section><title>Methods</title>
            <table>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy

     */
    class ClassExtensionDoc {
        private final Set<ClassDoc> mixinClasses = []
        private final Map<String, ClassDoc> extensionClasses = [:]
        private final String pluginId
        final ClassDoc targetClass
        final List<PropertyDoc> extraProperties = []
        final List<BlockDoc> extraBlocks = []
    
        ClassExtensionDoc(String pluginId, ClassDoc targetClass) {
            this.pluginId = pluginId
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java

            parent.appendChild(title);
            title.appendChild(document.createTextNode(classDoc.getSimpleName()));
    
            addApiDocumentationLink(classDoc, parent, document);
            addSubtypeLinks(classDoc, parent, document);
    
            warningsRenderer.renderTo(classDoc, "class", parent);
    
            for (Element element : classDoc.getComment()) {
                parent.appendChild(document.importNode(element, true));
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
Back to top