@Test public void testValidateSuccess() { User user = new User(); user.setId(1L); user.setRealName("a"); ValidateUtils.validate(user); }
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);  }