EntityClassUtil { public static String getModuleName(Class<?> clazz){ Matcher matcher = PATTERN.matcher(clazz.getName()); matcher.matches(); return matcher.group(1); }  static String getFullClassName(Class<?> clazz); static String getSimpleClassName(Class<?> clazz); static String getSuperSimpleClassName(Class<?> clazz); static String getEntityType(Class<?> clazz); static String getModuleName(Class<?> clazz); static String getChineseClassName(Class<?> clazz); static String getFieldType(Field field); static String getFieldName(Field field); static String getChineseFieldName(ApiModelProperty apiModelProperty); static String getApiModelProperty(ApiModelProperty apiModelProperty); static String getEditPageType(Class<T> clazz); static Class<? extends TreeEntity> getLeftTreeType(Class<T> clazz);  }
@Test public void getModuleName() { log.info("moduleName: {}", EntityClassUtil.getModuleName(Job.class)); }