aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2018-08-16 11:47:25 +0200
committerRoel Spilker <r.spilker@gmail.com>2018-08-20 20:51:34 +0200
commit0904b1fd3a831ca5e056921bb37f51c759e2e074 (patch)
treeb3794925fe4e0fbfe20af12e6a72be64ec2be87d /src/core/lombok/eclipse/handlers
parentd2ec0e7bdd8faea3ad5553a276299573fb52ff78 (diff)
downloadlombok-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.java2
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();