aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2018-06-01 10:50:26 +0200
committerJan Rieke <rieke@subshell.com>2018-06-01 10:50:26 +0200
commit51c0c40ac422ddd2828bb0ec79e252e85f1511c9 (patch)
treefbb8780fb966e0e75fc36050b13cad18bae71ce7 /src/core/lombok/javac/handlers
parent32bed51fede1eebef2006d54b3e364de22ae9ac0 (diff)
downloadlombok-51c0c40ac422ddd2828bb0ec79e252e85f1511c9.tar.gz
lombok-51c0c40ac422ddd2828bb0ec79e252e85f1511c9.tar.bz2
lombok-51c0c40ac422ddd2828bb0ec79e252e85f1511c9.zip
handle experimental flag usage
Diffstat (limited to 'src/core/lombok/javac/handlers')
-rw-r--r--src/core/lombok/javac/handlers/HandleSuperBuilder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lombok/javac/handlers/HandleSuperBuilder.java b/src/core/lombok/javac/handlers/HandleSuperBuilder.java
index 1055a11a..c48e4761 100644
--- a/src/core/lombok/javac/handlers/HandleSuperBuilder.java
+++ b/src/core/lombok/javac/handlers/HandleSuperBuilder.java
@@ -94,6 +94,8 @@ public class HandleSuperBuilder extends JavacAnnotationHandler<SuperBuilder> {
@Override
public void handle(AnnotationValues<SuperBuilder> annotation, JCAnnotation ast, JavacNode annotationNode) {
+ handleExperimentalFlagUsage(annotationNode, ConfigurationKeys.SUPERBUILDER_FLAG_USAGE, "@SuperBuilder");
+
SuperBuilder superbuilderAnnotation = annotation.getInstance();
deleteAnnotationIfNeccessary(annotationNode, SuperBuilder.class);