fix PACKAGE_AND_CLASS_NAME

This commit is contained in:
Struchkov Mark 2023-02-21 10:42:56 +03:00
parent 13249271fb
commit caae59207f
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

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