- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for findGetterMethod (0.45 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java
*/ public static <T, F> PropertyAccessor<T, F> readableProperty(Class<T> target, Class<F> returnType, String property) throws NoSuchPropertyException { 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())); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java
// Java bean to Property where old code uses ConventionMapping to set conventions. Class<? extends IConventionAware> sourceType = _source.getClass(); Method getter = JavaPropertyReflectionUtil.findGetterMethod(sourceType, propertyName); if (getter != null && SupportsConvention.class.isAssignableFrom(getter.getReturnType())) { SupportsConvention target; try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:53:33 UTC 2024 - 9.8K bytes - Viewed (0)