aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/NonNullPlain.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/NonNullPlain.java')
-rw-r--r--test/transform/resource/before/NonNullPlain.java17
1 files changed, 12 insertions, 5 deletions
diff --git a/test/transform/resource/before/NonNullPlain.java b/test/transform/resource/before/NonNullPlain.java
index 265b8c5a..a438d1d4 100644
--- a/test/transform/resource/before/NonNullPlain.java
+++ b/test/transform/resource/before/NonNullPlain.java
@@ -1,10 +1,17 @@
+import java.lang.annotation.*;
+
+@lombok.RequiredArgsConstructor
+@lombok.Getter
+@lombok.Setter
class NonNullPlain {
- @lombok.Setter
@lombok.NonNull
- @lombok.Getter int i;
-
- @lombok.Getter
- @lombok.Setter
+ int i;
@lombok.NonNull
String s;
+ @NotNull
+ Object o;
+
+ @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
+ @Retention(RetentionPolicy.CLASS)
+ public @interface NotNull {}
} \ No newline at end of file