diff options
author | Jan Rieke <rieke@subshell.com> | 2020-06-08 08:28:44 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-06-11 21:14:41 +0200 |
commit | a8c75a64f4a8dbd0651021ebbc6197269f6fe822 (patch) | |
tree | 3569a22ae855bd575f55c7350d4db86e8326aa5d /src/core/lombok | |
parent | f6738e4d81f8a0afa2dc95c48b2c380fbafa8fcf (diff) | |
download | lombok-a8c75a64f4a8dbd0651021ebbc6197269f6fe822.tar.gz lombok-a8c75a64f4a8dbd0651021ebbc6197269f6fe822.tar.bz2 lombok-a8c75a64f4a8dbd0651021ebbc6197269f6fe822.zip |
more Jackson annotations to copy to setters
Diffstat (limited to 'src/core/lombok')
-rw-r--r-- | src/core/lombok/core/handlers/HandlerUtil.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/core/lombok/core/handlers/HandlerUtil.java b/src/core/lombok/core/handlers/HandlerUtil.java index 306ca543..f7bfd735 100644 --- a/src/core/lombok/core/handlers/HandlerUtil.java +++ b/src/core/lombok/core/handlers/HandlerUtil.java @@ -312,12 +312,16 @@ public class HandlerUtil { "org.netbeans.api.annotations.common.NullAllowed", })); COPY_TO_SETTER_ANNOTATIONS = Collections.unmodifiableList(Arrays.asList(new String[] { + "com.fasterxml.jackson.annotation.JacksonInject", + "com.fasterxml.jackson.annotation.JsonAlias", + "com.fasterxml.jackson.annotation.JsonFormat", + "com.fasterxml.jackson.annotation.JsonIgnore", + "com.fasterxml.jackson.annotation.JsonIgnoreProperties", "com.fasterxml.jackson.annotation.JsonProperty", "com.fasterxml.jackson.annotation.JsonSetter", - "com.fasterxml.jackson.annotation.JsonIgnore", - "com.fasterxml.jackson.annotation.JsonAlias", + "com.fasterxml.jackson.annotation.JsonSubTypes", + "com.fasterxml.jackson.annotation.JsonTypeInfo", "com.fasterxml.jackson.annotation.JsonView", - "com.fasterxml.jackson.annotation.JacksonInject", "com.fasterxml.jackson.databind.annotation.JsonDeserialize", "com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty", })); |