diff options
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/NonNullOnRecord.java | 6 | ||||
-rw-r--r-- | test/transform/resource/before/NonNullOnRecord2.java | 9 | ||||
-rw-r--r-- | test/transform/resource/before/NonNullOnRecordExistingConstructor.java | 9 | ||||
-rw-r--r-- | test/transform/resource/before/NonNullOnRecordExistingSetter.java (renamed from test/transform/resource/before/NonNullOnRecord3.java) | 4 | ||||
-rw-r--r-- | test/transform/resource/before/NonNullOnRecordSimple.java | 6 | ||||
-rw-r--r-- | test/transform/resource/before/NonNullOnRecordTypeUse.java | 6 | ||||
-rw-r--r-- | test/transform/resource/before/RecordNonNull | 0 |
7 files changed, 23 insertions, 17 deletions
diff --git a/test/transform/resource/before/NonNullOnRecord.java b/test/transform/resource/before/NonNullOnRecord.java deleted file mode 100644 index ba6121a6..00000000 --- a/test/transform/resource/before/NonNullOnRecord.java +++ /dev/null @@ -1,6 +0,0 @@ -// version 14: - -import lombok.NonNull; - -public record NonNullOnRecord(@NonNull String a, @NonNull String b) { -}
\ No newline at end of file diff --git a/test/transform/resource/before/NonNullOnRecord2.java b/test/transform/resource/before/NonNullOnRecord2.java deleted file mode 100644 index 3a4eacd4..00000000 --- a/test/transform/resource/before/NonNullOnRecord2.java +++ /dev/null @@ -1,9 +0,0 @@ -// version 14: - -import lombok.NonNull; - -record NonNullOnRecord2(@NonNull String a) { - public NonNullOnRecord2 { - System.out.println("Hello"); - } -}
\ No newline at end of file diff --git a/test/transform/resource/before/NonNullOnRecordExistingConstructor.java b/test/transform/resource/before/NonNullOnRecordExistingConstructor.java new file mode 100644 index 00000000..7bab2a8a --- /dev/null +++ b/test/transform/resource/before/NonNullOnRecordExistingConstructor.java @@ -0,0 +1,9 @@ +// version 14: + +import lombok.NonNull; + +public record NonNullOnRecordExistingConstructor(@NonNull String a) { + public NonNullOnRecordExistingConstructor { + System.out.println("Hello"); + } +}
\ No newline at end of file diff --git a/test/transform/resource/before/NonNullOnRecord3.java b/test/transform/resource/before/NonNullOnRecordExistingSetter.java index 24198002..dd7b15d8 100644 --- a/test/transform/resource/before/NonNullOnRecord3.java +++ b/test/transform/resource/before/NonNullOnRecordExistingSetter.java @@ -2,8 +2,8 @@ import lombok.NonNull; -public record NonNullOnRecord3(@NonNull String a) { - public NonNullOnRecord3(String a) { +public record NonNullOnRecordExistingSetter(@NonNull String a) { + public NonNullOnRecordExistingSetter(String a) { this.a = a; } diff --git a/test/transform/resource/before/NonNullOnRecordSimple.java b/test/transform/resource/before/NonNullOnRecordSimple.java new file mode 100644 index 00000000..0d0a1f9f --- /dev/null +++ b/test/transform/resource/before/NonNullOnRecordSimple.java @@ -0,0 +1,6 @@ +// version 14: + +import lombok.NonNull; + +public record NonNullOnRecordSimple(@NonNull String a, @NonNull String b) { +}
\ No newline at end of file diff --git a/test/transform/resource/before/NonNullOnRecordTypeUse.java b/test/transform/resource/before/NonNullOnRecordTypeUse.java new file mode 100644 index 00000000..5f89695d --- /dev/null +++ b/test/transform/resource/before/NonNullOnRecordTypeUse.java @@ -0,0 +1,6 @@ +// version 14: + +import lombok.NonNull; + +public record NonNullOnRecordTypeUse(@NonNull int [] a, int @NonNull [] b, int [] @NonNull [] c) { +}
\ No newline at end of file diff --git a/test/transform/resource/before/RecordNonNull b/test/transform/resource/before/RecordNonNull new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/transform/resource/before/RecordNonNull |