Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isMethodDeclaredInManagedType (0.42 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtils.java

         */
        public static boolean isMethodDeclaredInManagedType(Iterable<Method> declarations) {
            Method mostSpecificDeclaration = findMostSpecificMethod(declarations);
            return isMethodDeclaredInManagedType(mostSpecificDeclaration);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 06 15:03:49 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtilsTest.groovy

            expect:
            ModelSchemaUtils.isMethodDeclaredInManagedType(ModelSchemaUtils.getCandidateMethods(ManagedType).methodsNamed("getValue").values().flatten())
        }
    
        class UnmanagedType  {
            String value
        }
    
        def "detects unmanaged property"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/PropertyAccessorExtractionContext.java

            this.mostSpecificDeclaration = mostSpecificDeclaration;
            this.mostSpecificSignature = AsmClassGeneratorUtils.signature(mostSpecificDeclaration);
            this.declaredInManagedType = ModelSchemaUtils.isMethodDeclaredInManagedType(declaringMethods);
            this.declaredAsAbstract = Modifier.isAbstract(this.mostSpecificDeclaration.getModifiers());
            this.annotations = collectAnnotations(declaringMethods);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top