Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for GET_GETTER (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyAccessorType.java

                return method.getReturnType();
            }
    
            @Override
            public Type genericPropertyTypeFor(Method method) {
                return method.getGenericReturnType();
            }
        },
    
        GET_GETTER(3) {
            @Override
            public Class<?> propertyTypeFor(Method method) {
                return method.getReturnType();
            }
    
            @Override
            public Type genericPropertyTypeFor(Method method) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            PropertyAccessorType.of(DeviantBean.class.getMethod("gettingStarted")) == PropertyAccessorType.GET_GETTER
            PropertyAccessorType.fromName('getccCompiler') == PropertyAccessorType.GET_GETTER
            PropertyAccessorType.of(DeviantBean.class.getMethod("getccCompiler")) == PropertyAccessorType.GET_GETTER
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelPropertyExtractionContext.java

            }
            return declaredBy.build();
        }
    
        @Nullable
        public PropertyAccessorExtractionContext mergeGetters() {
            PropertyAccessorExtractionContext getGetter = getAccessor(PropertyAccessorType.GET_GETTER);
            PropertyAccessorExtractionContext isGetter = getAccessor(PropertyAccessorType.IS_GETTER);
            if (getGetter == null && isGetter == null) {
                return null;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/ModelProperty.java

            return accessors.values();
        }
    
        public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
            return isAnnotationPresent(annotationType, getAccessor(PropertyAccessorType.GET_GETTER))
                || isAnnotationPresent(annotationType, getAccessor(PropertyAccessorType.IS_GETTER));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java

                this.accessorType = accessorType;
                this.method = method;
                this.isGetter = accessorType == PropertyAccessorType.IS_GETTER || accessorType == PropertyAccessorType.GET_GETTER;
            }
    
            public String getPropertyName() {
                return accessorType.propertyNameFor(method.getName());
            }
    
            public JavaMethod getMethod() {
                return method;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/ClassInspector.java

                    continue;
                }
    
                PropertyAccessorType accessorType = PropertyAccessorType.of(method);
                if (accessorType == PropertyAccessorType.GET_GETTER || accessorType == PropertyAccessorType.IS_GETTER) {
                    String propertyName = accessorType.propertyNameFor(method);
                    classDetails.property(propertyName).addGetter(method);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

    import static org.gradle.internal.reflect.Methods.DESCRIPTOR_EQUIVALENCE;
    import static org.gradle.internal.reflect.Methods.SIGNATURE_EQUIVALENCE;
    import static org.gradle.internal.reflect.PropertyAccessorType.GET_GETTER;
    import static org.gradle.internal.reflect.PropertyAccessorType.IS_GETTER;
    import static org.gradle.internal.reflect.PropertyAccessorType.SETTER;
    import static org.gradle.internal.reflect.PropertyAccessorType.hasGetter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/StructSchemaExtractionStrategySupport.java

        }
    
        private static ModelPropertyExtractionResult<?> extractProperty(ModelPropertyExtractionContext property) {
            ModelType<?> propertyType = determinePropertyType(property.getAccessor(PropertyAccessorType.GET_GETTER));
            if (propertyType == null) {
                propertyType = determinePropertyType(property.getAccessor(PropertyAccessorType.IS_GETTER));
            }
            if (propertyType == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. testing/architecture-test/src/test/java/org/gradle/architecture/test/ProviderMigrationArchitectureTest.java

            @Override
            public boolean test(JavaMethod input) {
                PropertyAccessorType accessorType = PropertyAccessorType.fromName(input.getName());
                return accessorType == PropertyAccessorType.GET_GETTER || accessorType == PropertyAccessorType.IS_GETTER;
            }
        };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/initialization/MixInLegacyTypesClassLoader.java

                        if (accessorType == PropertyAccessorType.IS_GETTER) {
                            booleanIsGetters.add(propertyName);
                        } else if (accessorType == PropertyAccessorType.GET_GETTER) {
                            booleanGetGetters.add(propertyName);
                        }
                    }
                }
                return super.visitMethod(access, name, desc, signature, exceptions);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top