diff options
author | Jan Rieke <rieke@subshell.com> | 2018-08-16 11:47:25 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2018-08-20 20:51:34 +0200 |
commit | 0904b1fd3a831ca5e056921bb37f51c759e2e074 (patch) | |
tree | b3794925fe4e0fbfe20af12e6a72be64ec2be87d /src/core/lombok/eclipse/handlers | |
parent | d2ec0e7bdd8faea3ad5553a276299573fb52ff78 (diff) | |
download | lombok-0904b1fd3a831ca5e056921bb37f51c759e2e074.tar.gz lombok-0904b1fd3a831ca5e056921bb37f51c759e2e074.tar.bz2 lombok-0904b1fd3a831ca5e056921bb37f51c759e2e074.zip |
[fixes #1759] ‘flag usage’ check on builder for eclipse
Diffstat (limited to 'src/core/lombok/eclipse/handlers')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleBuilder.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleBuilder.java b/src/core/lombok/eclipse/handlers/HandleBuilder.java index e1b1af26..4301e51a 100644 --- a/src/core/lombok/eclipse/handlers/HandleBuilder.java +++ b/src/core/lombok/eclipse/handlers/HandleBuilder.java @@ -146,6 +146,8 @@ public class HandleBuilder extends EclipseAnnotationHandler<Builder> { } @Override public void handle(AnnotationValues<Builder> annotation, Annotation ast, EclipseNode annotationNode) { + handleFlagUsage(annotationNode, ConfigurationKeys.BUILDER_FLAG_USAGE, "@Builder"); + long p = (long) ast.sourceStart << 32 | ast.sourceEnd; Builder builderInstance = annotation.getInstance(); |