Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for interfaces (0.17 sec)

  1. 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 May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. 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 May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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 May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
Back to top