@Test public void getField() { Integer integer = new Integer(12); Assertions.assertNotNull(PropUtils.getField(Integer.class, "value")); Assertions.assertNull(PropUtils.getField(Object.class, "value")); Assertions.assertNotNull(PropUtils.getField(TestProp.class, "property")); }
public static Field getField(final Class<?> clazz, final String property) { return getField(clazz, property, false); }
PropUtils { public static Field getField(final Class<?> clazz, final String property) { return getField(clazz, property, false); } }
PropUtils { public static Field getField(final Class<?> clazz, final String property) { return getField(clazz, property, false); }  }
PropUtils { public static Field getField(final Class<?> clazz, final String property) { return getField(clazz, property, false); }  static PropertyInfo get(final Class<?> clazz, final String property); static PropertyInfo get(final Field field); static Field getField(final Class<?> clazz, final String property); static Field getField(final Class<?> clazz, final String property, boolean suppressWarning); static String getI18nKey(final Class<?> clazz, final String property); static Field[] getPropertyInfoFields(final Class<?> clazz); }
PropUtils { public static Field getField(final Class<?> clazz, final String property) { return getField(clazz, property, false); }  static PropertyInfo get(final Class<?> clazz, final String property); static PropertyInfo get(final Field field); static Field getField(final Class<?> clazz, final String property); static Field getField(final Class<?> clazz, final String property, boolean suppressWarning); static String getI18nKey(final Class<?> clazz, final String property); static Field[] getPropertyInfoFields(final Class<?> clazz);  }