@Test public void testFastValidate() { User user = new User(); try { ValidateUtils.validate(user, false); } catch (Exception e) { String str = e.getMessage(); String [] arrays = str.split(","); assertEquals(arrays.length, 2); } }
public static <T> void validate(T bean, Class<?>... groups) { validate(bean, true, groups); }
ValidateUtils { public static <T> void validate(T bean, Class<?>... groups) { validate(bean, true, groups); } }
ValidateUtils { public static <T> void validate(T bean, Class<?>... groups) { validate(bean, true, groups); }  }
ValidateUtils { public static <T> void validate(T bean, Class<?>... groups) { validate(bean, true, groups); }  static void validate(T bean, Class<?>... groups); static void validate(T bean, boolean flag, Class<?>... groups); }
ValidateUtils { public static <T> void validate(T bean, Class<?>... groups) { validate(bean, true, groups); }  static void validate(T bean, Class<?>... groups); static void validate(T bean, boolean flag, Class<?>... groups);  }