Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetterMethod (0.35 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

        private void validateSetterForMutableType(Method setterMethod, PropertyAccessorType setterAccessorType, TypeValidationContext validationContext, String propertyName) {
            Class<?> setterType = setterAccessorType.propertyTypeFor(setterMethod);
            if (isSetterProhibitedForType(setterType)) {
                validationContext.visitPropertyProblem(problem ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

            final Method getterMethod = findGetterMethod(target, property);
            if (getterMethod == null) {
                throw new NoSuchPropertyException(String.format("Could not find getter method for property '%s' on class %s.", property, target.getSimpleName()));
            }
            return new GetterMethodBackedPropertyAccessor<T, F>(property, returnType, getterMethod);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
Back to top