diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2023-02-11 20:33:46 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2023-03-21 17:38:04 +0100 |
commit | e64c6b5879d36d45ec6a768ff907b7857a2ee217 (patch) | |
tree | dbae4d784afe5dd81c622a5928e06cb53cd8e3d2 /test/stubs | |
parent | 984cd1d5cf0af7263efaf167dc308ab59406cd68 (diff) | |
download | lombok-e64c6b5879d36d45ec6a768ff907b7857a2ee217.tar.gz lombok-e64c6b5879d36d45ec6a768ff907b7857a2ee217.tar.bz2 lombok-e64c6b5879d36d45ec6a768ff907b7857a2ee217.zip |
[fixes #3346] Add jakarta Nonnull/Nullable annotations
Diffstat (limited to 'test/stubs')
-rw-r--r-- | test/stubs/jakarta/annotation/Nonnull.java | 9 | ||||
-rw-r--r-- | test/stubs/jakarta/annotation/Nullable.java | 9 |
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 {} |