aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/NonNullOnRecord3.java
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2023-03-13 19:55:52 +0100
committerRoel Spilker <r.spilker@gmail.com>2023-03-21 17:13:54 +0100
commit6f204d98c450092f4a6252677fc44657704b9897 (patch)
treec315d0a55aa93f0fb399c776574a937acebce8ba /test/transform/resource/after-delombok/NonNullOnRecord3.java
parent13642eb896ae6dbbaebab6df3c3758296102ead8 (diff)
downloadlombok-6f204d98c450092f4a6252677fc44657704b9897.tar.gz
lombok-6f204d98c450092f4a6252677fc44657704b9897.tar.bz2
lombok-6f204d98c450092f4a6252677fc44657704b9897.zip
[fixes #3366] Handle @NonNull type annotations on record components
Diffstat (limited to 'test/transform/resource/after-delombok/NonNullOnRecord3.java')
-rw-r--r--test/transform/resource/after-delombok/NonNullOnRecord3.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/transform/resource/after-delombok/NonNullOnRecord3.java b/test/transform/resource/after-delombok/NonNullOnRecord3.java
deleted file mode 100644
index 62b385bc..00000000
--- a/test/transform/resource/after-delombok/NonNullOnRecord3.java
+++ /dev/null
@@ -1,13 +0,0 @@
-// version 14:
-import lombok.NonNull;
-public record NonNullOnRecord3(@NonNull String a) {
- public NonNullOnRecord3(String a) {
- this.a = a;
- }
- public void method(@NonNull String param) {
- if (param == null) {
- throw new java.lang.NullPointerException("param is marked non-null but is null");
- }
- String asd = "a";
- }
-}