aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/GetterLazyInvalid.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/GetterLazyInvalid.java')
-rw-r--r--test/transform/resource/before/GetterLazyInvalid.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/transform/resource/before/GetterLazyInvalid.java b/test/transform/resource/before/GetterLazyInvalid.java
new file mode 100644
index 00000000..ead12443
--- /dev/null
+++ b/test/transform/resource/before/GetterLazyInvalid.java
@@ -0,0 +1,24 @@
+class GetterLazyInvalidNotFinal {
+ @lombok.Getter(lazy=true)
+ private String fieldName = "";
+}
+class GetterLazyInvalidNotPrivate {
+ @lombok.Getter(lazy=true)
+ final String fieldName = "";
+}
+class GetterLazyInvalidNotPrivateFinal {
+ @lombok.Getter(lazy=true)
+ String fieldName = "";
+}
+class GetterLazyInvalidNone {
+ @lombok.Getter(lazy=true, value=lombok.AccessLevel.NONE)
+ String fieldName = "";
+}
+@lombok.Getter(lazy = true)
+class GetterLazyInvalidClass {
+ String fieldName = "";
+}
+class GetterLazyInvalidNoInit {
+ @lombok.Getter(lazy = true)
+ String fieldName;
+}