diff options
author | Jan Rieke <it@janrieke.de> | 2020-03-05 16:25:09 +0100 |
---|---|---|
committer | Jan Rieke <it@janrieke.de> | 2020-03-05 16:25:09 +0100 |
commit | a749bc230f4e42904dc6803841cfb928c394d3b5 (patch) | |
tree | 5fd2aa3b4f2fc01396ebfdc5fe13ef16141faba9 /src/core/lombok/javac/handlers | |
parent | 8be4b0ffe6b5e5f89e8bb3d94e87d0aa98dc5aeb (diff) | |
download | lombok-a749bc230f4e42904dc6803841cfb928c394d3b5.tar.gz lombok-a749bc230f4e42904dc6803841cfb928c394d3b5.tar.bz2 lombok-a749bc230f4e42904dc6803841cfb928c394d3b5.zip |
@Jacksonized: add flag usage configuration key
Diffstat (limited to 'src/core/lombok/javac/handlers')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleJacksonized.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/lombok/javac/handlers/HandleJacksonized.java b/src/core/lombok/javac/handlers/HandleJacksonized.java index 889dd27d..aff0bf63 100644 --- a/src/core/lombok/javac/handlers/HandleJacksonized.java +++ b/src/core/lombok/javac/handlers/HandleJacksonized.java @@ -21,6 +21,7 @@ */ package lombok.javac.handlers; +import static lombok.core.handlers.HandlerUtil.handleExperimentalFlagUsage; import static lombok.javac.handlers.JavacHandlerUtil.*; import org.mangosdk.spi.ProviderFor; @@ -59,6 +60,8 @@ import lombok.javac.JavacTreeMaker; public class HandleJacksonized extends JavacAnnotationHandler<Jacksonized> { @Override public void handle(AnnotationValues<Jacksonized> annotation, JCAnnotation ast, JavacNode annotationNode) { + handleExperimentalFlagUsage(annotationNode, ConfigurationKeys.JACKSONIZED_FLAG_USAGE, "@Jacksonized"); + JavacNode annotatedNode = annotationNode.up(); deleteAnnotationIfNeccessary(annotationNode, Jacksonized.class); |