Добавил генерацию PACKAGE_AND_CLASS_NAME

This commit is contained in:
Struchkov Mark 2023-02-21 10:37:52 +03:00
parent 11e67b1c18
commit 6cfca087f7
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -38,6 +38,7 @@ public final class CreatorClassSimpleMode {
out.println(format("public class {0} '{'", classDto.getNewClassName()));
out.println();
out.println(format(" public static final String CLASS_NAME = \"{0}\";", classDto.getOldClassName()));
out.println(format(" public static final String PACKAGE_AND_CLASS_NAME = \"{0}\";", classDto + classDto.getClassPackage() + "." + classDto.getOldClassName()));
out.println();
generateSimpleNames(classDto.getSimpleFields(), out);
out.println("}");