diff options
author | Roel Spilker <r.spilker@gmail.com> | 2013-12-03 21:27:04 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2013-12-03 21:27:04 +0100 |
commit | 083817732242cce815b9d78659e68520abdb5021 (patch) | |
tree | c4d134133dddac3b0f8b0fbc327e50cd9f388029 /src/core/lombok/javac/handlers/HandleToString.java | |
parent | 78b2d6919e35887940f9f11b6ae1731245739b83 (diff) | |
download | lombok-083817732242cce815b9d78659e68520abdb5021.tar.gz lombok-083817732242cce815b9d78659e68520abdb5021.tar.bz2 lombok-083817732242cce815b9d78659e68520abdb5021.zip |
Fix for Issue #591: v1.12.2 doesn't well with netbeans.
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleToString.java')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleToString.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleToString.java b/src/core/lombok/javac/handlers/HandleToString.java index 9bd5b920..19f91fe5 100644 --- a/src/core/lombok/javac/handlers/HandleToString.java +++ b/src/core/lombok/javac/handlers/HandleToString.java @@ -240,7 +240,7 @@ public class HandleToString extends JavacAnnotationHandler<ToString> { JCBlock body = maker.Block(0, List.of(returnStatement)); return recursiveSetGeneratedBy(maker.MethodDef(mods, typeNode.toName("toString"), returnType, - List.<JCTypeParameter>nil(), List.<JCVariableDecl>nil(), List.<JCExpression>nil(), body, null), source); + List.<JCTypeParameter>nil(), List.<JCVariableDecl>nil(), List.<JCExpression>nil(), body, null), source, typeNode.getContext()); } private static String getTypeName(JavacNode typeNode) { |