mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
the static constructor generated by @Data wasn't public when compiling with javac (but it was with eclipse).
Fixes issue #63
This commit is contained in:
1 parent
6733b1ec56
commit
4eea52f36b
1 file changed
+1
-1
@@ -137,7 +137,7 @@ public class HandleData implements JavacAnnotationHandler<Data> {
|
||||
TreeMaker maker = typeNode.getTreeMaker();
|
||||
JCClassDecl type = (JCClassDecl) typeNode.get();
|
||||
|
||||
JCModifiers mods = maker.Modifiers(Flags.STATIC);
|
||||
JCModifiers mods = maker.Modifiers(Flags.STATIC | Flags.PUBLIC);
|
||||
|
||||
JCExpression returnType, constructorType;
|
||||
|
||||
|
||||
Reference in new issue
Block a user