Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for interfaces (0.2 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy

            then:
            m == overriddenMethod
            _ * owner.superClass >> superClassMetaData
            _ * owner.interfaces >> []
            1 * superClassMetaData.findDeclaredMethod('method()') >> null
            _ * superClassMetaData.superClass >> ancestorClassMetaData
            _ * superClassMetaData.interfaces >> []
            1 * ancestorClassMetaData.findDeclaredMethod('method()') >> overriddenMethod
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        void addClassExtension(ClassExtensionDoc extensionDoc) {
            classExtensions.add(extensionDoc)
        }
    
        List<ClassDoc> getSuperTypes() {
            return superClass == null ? interfaces : [superClass] + interfaces
        }
    
        Element getClassSection() { return classSection }
    
        Element getPropertiesTable() { return propertiesTable }
    
        def getPropertiesSection() { return propertiesSection }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            when:
            ClassDoc doc = withCategories {
                def doc = new ClassDoc('org.gradle.Class', content, document, classMetaData, null)
                doc.superClass = superDoc
                doc.interfaces << superType1
                doc.interfaces << superType2
                builder.build(doc)
                return doc
            }
    
            then:
            doc.classProperties.size() == 5
            doc.classProperties[0].name == 'a'
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            }
        }
    
        private List<String> filterChangesToReport(CtClass c, Map<String, CtClass> interfaces) {
            return interfaces.values().findAll { implementedDirectly(it, c) && addedInterfaceIsIncubatingOrInternal(it, c) }*.name.sort()
        }
    
        private boolean implementedDirectly(CtClass interf, CtClass c) {
            return c.interfaces.any { it.name == interf.name }
        }
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

                parse(f, repository)
                counter++
            }
    
            //updating/modifying the metadata and making sure every type reference across the metadata is fully qualified
            //so, the superClassName, interfaces and types needed by declared properties and declared methods will have fully qualified name
            TypeNameResolver resolver = new TypeNameResolver(repository)
            repository.each { name, metaData ->
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    public interface $TEST_INTERFACE_SIMPLE_NAME {
                        String field = "value";
                        void method();
                    }
                """
                : """
                    public class $TEST_INTERFACE_SIMPLE_NAME {
                        public String field = "value";
                        public void method() { }
                        public $TEST_INTERFACE_SIMPLE_NAME() { }
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        @Incubating
        interface IncubatingInterface {}
    
        interface InternalInterface {}
    
        interface StablePublicInterface {}
    
        CtClass oldBase
        CtClass newBase
        CtClass newSuper
        CtClass newIncubatingBase
        CtClass internalInterface
        CtClass incubatingInterface
        CtClass stablePublicInterface
    
        Map interfaces
    
        def setup() {
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            when:
            ClassDoc doc = withCategories {
                def doc = new ClassDoc('org.gradle.Class', content, document, classMetaData, null)
                doc.superClass = superClass
                doc.interfaces << superType1
                doc.interfaces << superType2
                builder.build(doc)
                doc
            }
    
            then:
            doc.classMethods.size() == 6
    
            doc.classMethods[0].name == 'a'
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 8.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/resources/org/gradle/test/GroovyAnnotation.groovy

    package org.gradle.test
    
    public @interface GroovyAnnotation {
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 65 bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

                            "type": "org.gradle.api.initialization.ConfigurableIncludedBuild",
                            "member": "Implemented interface org.gradle.api.initialization.IncludedBuild",
                            "changes": ["Interface has been removed"],
                            "acceptation": "@Incubating interface has been removed"
                        }
                    ]
                }
            """)
    
            then:
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
Back to top