aboutsummaryrefslogtreecommitdiff
path: root/test/stubs/com/fasterxml/jackson/databind/annotation
diff options
context:
space:
mode:
Diffstat (limited to 'test/stubs/com/fasterxml/jackson/databind/annotation')
-rw-r--r--test/stubs/com/fasterxml/jackson/databind/annotation/JsonDeserialize.java12
-rw-r--r--test/stubs/com/fasterxml/jackson/databind/annotation/JsonPOJOBuilder.java10
2 files changed, 22 insertions, 0 deletions
diff --git a/test/stubs/com/fasterxml/jackson/databind/annotation/JsonDeserialize.java b/test/stubs/com/fasterxml/jackson/databind/annotation/JsonDeserialize.java
new file mode 100644
index 00000000..0964f82c
--- /dev/null
+++ b/test/stubs/com/fasterxml/jackson/databind/annotation/JsonDeserialize.java
@@ -0,0 +1,12 @@
+package com.fasterxml.jackson.databind.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.METHOD, ElementType.FIELD, ElementType.TYPE, ElementType.PARAMETER})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface JsonDeserialize {
+ public Class<?> builder() default Void.class;
+}
diff --git a/test/stubs/com/fasterxml/jackson/databind/annotation/JsonPOJOBuilder.java b/test/stubs/com/fasterxml/jackson/databind/annotation/JsonPOJOBuilder.java
new file mode 100644
index 00000000..4906dc58
--- /dev/null
+++ b/test/stubs/com/fasterxml/jackson/databind/annotation/JsonPOJOBuilder.java
@@ -0,0 +1,10 @@
+package com.fasterxml.jackson.databind.annotation;
+
+import java.lang.annotation.*;
+
+@Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface JsonPOJOBuilder {
+ public String buildMethodName() default "build";
+ public String withPrefix() default "with";
+}