aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2020-06-08 08:28:44 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-06-11 21:14:41 +0200
commita8c75a64f4a8dbd0651021ebbc6197269f6fe822 (patch)
tree3569a22ae855bd575f55c7350d4db86e8326aa5d /src
parentf6738e4d81f8a0afa2dc95c48b2c380fbafa8fcf (diff)
downloadlombok-a8c75a64f4a8dbd0651021ebbc6197269f6fe822.tar.gz
lombok-a8c75a64f4a8dbd0651021ebbc6197269f6fe822.tar.bz2
lombok-a8c75a64f4a8dbd0651021ebbc6197269f6fe822.zip
more Jackson annotations to copy to setters
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/core/handlers/HandlerUtil.java10
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",
}));