fix package on codegen classes

This commit is contained in:
Roman I. Lovakov 2022-12-08 18:00:55 +03:00
parent ed5d5bd91f
commit 9f41dde9ec

View File

@ -33,7 +33,7 @@ public final class CreatorClassTableMode {
public static void record(ClassTableDto classDto, ProcessingEnvironment environment) {
JavaFileObject builderFile = null;
try {
builderFile = environment.getFiler().createSourceFile(classDto.getClassName());
builderFile = environment.getFiler().createSourceFile(classDto.getClassPackage() +"." + classDto.getClassName());
} catch (IOException e) {
e.printStackTrace();
}