GenService extends AbstractGenService { public <T> void genCodeToUserDir(Class<T> clazz) throws IOException { List<Gen> genList = genInitService.getInitGenList(); for (Gen gen : genList) { genCodeToUserDir(clazz, gen); } }  void genCodeToUserDir(Class<T> clazz); File genCodeToZip(Class<T> clazz); void genCodeToUserDir(Class<T> clazz, String id); void genCodeToUserDir(Class<T> clazz, Gen gen); void genCodeToUserDir(Class<T> clazz, String id, Boolean override); void genCodeToUserDir(Class<T> clazz, Gen gen, Boolean override); List<GenInfo> genningCode(Class<T> clazz); void downloadCode(Class<T> clazz, HttpServletResponse response); void downloadCode(Class<T> clazz, String id, HttpServletResponse response); Map<String, String> preview(Class<T> clazz, String id);  }
@Test public void testGenCodeToUserDir() throws IOException { genService.genCodeToUserDir(NotificationRecord.class); }