aboutsummaryrefslogtreecommitdiff
path: root/test/stubs/com/fasterxml/jackson/annotation
diff options
context:
space:
mode:
Diffstat (limited to 'test/stubs/com/fasterxml/jackson/annotation')
-rw-r--r--test/stubs/com/fasterxml/jackson/annotation/JsonSetter.java12
-rw-r--r--test/stubs/com/fasterxml/jackson/annotation/Nulls.java5
2 files changed, 17 insertions, 0 deletions
diff --git a/test/stubs/com/fasterxml/jackson/annotation/JsonSetter.java b/test/stubs/com/fasterxml/jackson/annotation/JsonSetter.java
new file mode 100644
index 00000000..2886a6f4
--- /dev/null
+++ b/test/stubs/com/fasterxml/jackson/annotation/JsonSetter.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 JsonSetter {
+ Nulls nulls();
+}
diff --git a/test/stubs/com/fasterxml/jackson/annotation/Nulls.java b/test/stubs/com/fasterxml/jackson/annotation/Nulls.java
new file mode 100644
index 00000000..d40bd46d
--- /dev/null
+++ b/test/stubs/com/fasterxml/jackson/annotation/Nulls.java
@@ -0,0 +1,5 @@
+package com.fasterxml.jackson.annotation;
+
+public enum Nulls {
+ SKIP;
+}