diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-10-15 21:50:36 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-10-15 21:52:47 +0200 |
commit | 73cd46fce20a2c859a6fa9b78d921ff935642223 (patch) | |
tree | 6b45c7a00c9c776f092f74122c143e08b1c76c79 /src/core/lombok/eclipse/handlers/HandleBuilder.java | |
parent | becb12658ef60a926d420ea83251040c28eed126 (diff) | |
download | lombok-73cd46fce20a2c859a6fa9b78d921ff935642223.tar.gz lombok-73cd46fce20a2c859a6fa9b78d921ff935642223.tar.bz2 lombok-73cd46fce20a2c859a6fa9b78d921ff935642223.zip |
Fix up positions of generated nodes for eclipse `@Builder`.
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandleBuilder.java')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleBuilder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleBuilder.java b/src/core/lombok/eclipse/handlers/HandleBuilder.java index e22b4ed2..89cf81e0 100644 --- a/src/core/lombok/eclipse/handlers/HandleBuilder.java +++ b/src/core/lombok/eclipse/handlers/HandleBuilder.java @@ -445,6 +445,7 @@ public class HandleBuilder extends EclipseAnnotationHandler<Builder> { cleanDecl.declarationSourceEnd = -1; cleanDecl.modifiers = ClassFileConstants.AccPrivate; cleanDecl.type = TypeReference.baseTypeReference(TypeIds.T_boolean, 0); + cleanDecl.traverse(new SetGeneratedByVisitor(ast), (MethodScope) null); injectFieldAndMarkGenerated(builderType, cleanDecl); } |