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