aboutsummaryrefslogtreecommitdiff
path: root/test/stubs
diff options
context:
space:
mode:
Diffstat (limited to 'test/stubs')
-rw-r--r--test/stubs/jakarta/annotation/Nonnull.java9
-rw-r--r--test/stubs/jakarta/annotation/Nullable.java9
2 files changed, 18 insertions, 0 deletions
diff --git a/test/stubs/jakarta/annotation/Nonnull.java b/test/stubs/jakarta/annotation/Nonnull.java
new file mode 100644
index 00000000..c5a985ee
--- /dev/null
+++ b/test/stubs/jakarta/annotation/Nonnull.java
@@ -0,0 +1,9 @@
+package jakarta.annotation;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+@Documented
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Nonnull {}
diff --git a/test/stubs/jakarta/annotation/Nullable.java b/test/stubs/jakarta/annotation/Nullable.java
new file mode 100644
index 00000000..6ff82ce8
--- /dev/null
+++ b/test/stubs/jakarta/annotation/Nullable.java
@@ -0,0 +1,9 @@
+package jakarta.annotation;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+@Documented
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Nullable {}