aboutsummaryrefslogtreecommitdiff
path: root/test/stubs/org/springframework/lang
diff options
context:
space:
mode:
Diffstat (limited to 'test/stubs/org/springframework/lang')
-rw-r--r--test/stubs/org/springframework/lang/NonNull.java12
-rw-r--r--test/stubs/org/springframework/lang/Nullable.java12
2 files changed, 24 insertions, 0 deletions
diff --git a/test/stubs/org/springframework/lang/NonNull.java b/test/stubs/org/springframework/lang/NonNull.java
new file mode 100644
index 00000000..b6b16680
--- /dev/null
+++ b/test/stubs/org/springframework/lang/NonNull.java
@@ -0,0 +1,12 @@
+package org.springframework.lang;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface NonNull {}
diff --git a/test/stubs/org/springframework/lang/Nullable.java b/test/stubs/org/springframework/lang/Nullable.java
new file mode 100644
index 00000000..94317005
--- /dev/null
+++ b/test/stubs/org/springframework/lang/Nullable.java
@@ -0,0 +1,12 @@
+package org.springframework.lang;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+@Documented
+public @interface Nullable {}