public static void main(String[] args) {
MappingEntity mappingEntity = new MappingEntity();
Class clazz = mappingEntity.getClass();
Method[] methods = clazz.getMethods();
for (Method method : methods) {
System.out.println(clazz.getSimpleName() + "." + method.getName() + "();");
}
}

被折叠的 条评论
为什么被折叠?



