aboutsummaryrefslogtreecommitdiff
path: root/test/stubs
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-05-07 00:08:49 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-05-07 00:08:49 +0200
commit42f36e66fec9554205ed7caaab33c1c7be0db90b (patch)
treea0b1034dbbec38cc2326ae32741dafe5e3efba4b /test/stubs
parente69a991fcb141fb24de8afb433c753d35821b1c3 (diff)
downloadlombok-42f36e66fec9554205ed7caaab33c1c7be0db90b.tar.gz
lombok-42f36e66fec9554205ed7caaab33c1c7be0db90b.tar.bz2
lombok-42f36e66fec9554205ed7caaab33c1c7be0db90b.zip
[fixes #1981][fixes #1961] Hardcoded some knowledge about how to copy jackson’s `@JsonProperty`.
Diffstat (limited to 'test/stubs')
-rw-r--r--test/stubs/com/fasterxml/jackson/annotation/JsonProperty.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/stubs/com/fasterxml/jackson/annotation/JsonProperty.java b/test/stubs/com/fasterxml/jackson/annotation/JsonProperty.java
new file mode 100644
index 00000000..bba58a99
--- /dev/null
+++ b/test/stubs/com/fasterxml/jackson/annotation/JsonProperty.java
@@ -0,0 +1,12 @@
+package com.fasterxml.jackson.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.ANNOTATION_TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface JsonProperty {
+ String value();
+}