/** * Returns the Method object that is the proxyGetter for the field name * * @param c the Class * @param fieldName the name of the relevant field * @return the proxyGetter, or null if it is not present or the field is not found */ public static Method getProxyGetter(Class<?> c, String fieldName) { FieldInfo info = getFieldInfo(c, fieldName); if (info != null) { return info.getProxyGetter(); } return null; }
/** * Returns the Method object that is the proxyGetter for the field name * * @param c the Class * @param fieldName the name of the relevant field * @return the proxyGetter, or null if it is not present or the field is not found */ public static Method getProxyGetter(Class<?> c, String fieldName) { FieldInfo info = getFieldInfo(c, fieldName); if (info != null) { return info.getProxyGetter(); } return null; }