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:
Reinier Zwitserloot committed 2009-11-02 00:41:52 +01:00
1 parent 6733b1ec56
commit 4eea52f36b
1 file changed
+1 -1
+1 -1
View File
@@ -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;