diff options
author | Jan Rieke <rieke@subshell.com> | 2018-05-31 14:53:20 +0200 |
---|---|---|
committer | Jan Rieke <rieke@subshell.com> | 2018-05-31 14:53:20 +0200 |
commit | 664ed48460eba30b9cab7f9298ac563c4a23c993 (patch) | |
tree | afe11ee58a5561dd6641a46f15d6cb5f13a18732 /src/core/lombok/javac | |
parent | 65b248ec62ffe87d9f4fe234c47f786f420d58dc (diff) | |
download | lombok-664ed48460eba30b9cab7f9298ac563c4a23c993.tar.gz lombok-664ed48460eba30b9cab7f9298ac563c4a23c993.tar.bz2 lombok-664ed48460eba30b9cab7f9298ac563c4a23c993.zip |
javac: delete @SuperBuilder when processing it
Diffstat (limited to 'src/core/lombok/javac')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleSuperBuilder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/javac/handlers/HandleSuperBuilder.java b/src/core/lombok/javac/handlers/HandleSuperBuilder.java index 116de47b..1055a11a 100644 --- a/src/core/lombok/javac/handlers/HandleSuperBuilder.java +++ b/src/core/lombok/javac/handlers/HandleSuperBuilder.java @@ -95,6 +95,7 @@ public class HandleSuperBuilder extends JavacAnnotationHandler<SuperBuilder> { @Override public void handle(AnnotationValues<SuperBuilder> annotation, JCAnnotation ast, JavacNode annotationNode) { SuperBuilder superbuilderAnnotation = annotation.getInstance(); + deleteAnnotationIfNeccessary(annotationNode, SuperBuilder.class); String builderMethodName = superbuilderAnnotation.builderMethodName(); String buildMethodName = superbuilderAnnotation.buildMethodName(); |