Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for classMetaData (0.18 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

        private final String name;
        private final ClassMetaData ownerClass;
        private final List<ParameterMetaData> parameters = new ArrayList<ParameterMetaData>();
        private TypeMetaData returnType;
    
        public MethodMetaData(String name, ClassMetaData ownerClass) {
            this.name = name;
            this.ownerClass = ownerClass;
        }
    
        public String getName() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy

            1 * interfaceMetaData.findDeclaredMethod('method()') >> overriddenMethod
        }
    
        def locatesOverriddenMethodInAncestorClass() {
            ClassMetaData superClassMetaData = Mock()
            ClassMetaData ancestorClassMetaData = Mock()
            MethodMetaData overriddenMethod = Mock()
    
            when:
            def m = method.overriddenMethod
    
            then:
            m == overriddenMethod
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

         */
        public String resolve(String name, ClassMetaData classMetaData) {
            if (primitiveTypes.contains(name)) {
                return name;
            }
    
            String candidateClassName;
            String[] innerNames = name.split("\\.");
            ClassMetaData pos = classMetaData;
            for (int i = 0; i < innerNames.length; i++) {
                String innerName = innerNames[i];
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

    import org.w3c.dom.Element
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    
    class PropertyDoc implements DslElementDoc {
        private final String id
        private final String name
        private final List<Element> comment
        private final List<ExtraAttributeDoc> additionalValues
        private final PropertyMetaData metaData
        private final ClassMetaData referringClass
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            _ * classMetaData.rawCommentText >> '<!-- <p>ignore me</p> --><p>para 1'
    
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<para>para 1</para>'''
        }
    
        def convertsPElementsToParaElements() {
            _ * classMetaData.rawCommentText >> '<p>para 1</p><P>para 2</P>'
    
            when:
            def result = parser.parse(classMetaData, listener)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            _ * nameResolver.resolve('SomeClass', classMetaData) >>'org.gradle.SomeClass'
            _ * nameResolver.resolve('Object', classMetaData) >>'java.lang.Object'
            _ * classMetaData.declaredMethods >> ([method] as Set)
            _ * linkRenderer.link(method, listener) >> parse('<someLinkElement/>')
    
            when:
            def link = converter.resolve('#someName(SomeClass[], Object)', classMetaData, listener)
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy

            def notDeprecated = new ClassMetaData("SomeClass")
            def deprecated = new ClassMetaData("SomeClass")
            deprecated.addAnnotationTypeName(Deprecated.class.name)
    
            expect:
            !notDeprecated.deprecated
            deprecated.deprecated
        }
    
        def "is incubating when @Incubating annotation is attached to class"() {
            def notIncubating = new ClassMetaData("SomeClass")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            // workaround to IBM JDK crash "groovy.lang.GroovyRuntimeException: Could not find matching constructor for..."
            new DslDocModel(classDocbookDir, document, classMetaData, extensionMetaData)
        }
    
        def loadPluginsMetaData() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

            final Multimap<String, String> simpleNames = LinkedHashMultimap.create();
            ClassMetaDataUtil.extractFromMetadata(getMetaDataFile().getAsFile().get(), getExcludedPackages().get(), classMetaData -> simpleNames.put(classMetaData.getSimpleName(), classMetaData.getClassName()));
            try (PrintWriter mappingFileWriter = new PrintWriter(new FileWriter(getMappingDestFile().getAsFile().get()))) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

            currentlyBuilding.addLast(className)
            try {
                ClassMetaData classMetaData = classMetaData.find(className)
                if (!classMetaData) {
                    if (!className.contains('.internal.')) {
                        throw new RuntimeException("No meta-data found for class '$className'.")
                    }
                    classMetaData = new ClassMetaData(className)
                }
                try {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
Back to top