aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/GetterLazyInvalid.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-11-11 01:58:48 +0100
committerRoel Spilker <r.spilker@gmail.com>2010-11-11 01:58:48 +0100
commit1c323332493148f0aaa936e668e1b0da5d09c8be (patch)
tree7b9107aa641fb913702360cc95133a640218552d /test/transform/resource/before/GetterLazyInvalid.java
parentc8774389e7cb73e494267af3a87f70c7497b220a (diff)
downloadlombok-1c323332493148f0aaa936e668e1b0da5d09c8be.tar.gz
lombok-1c323332493148f0aaa936e668e1b0da5d09c8be.tar.bz2
lombok-1c323332493148f0aaa936e668e1b0da5d09c8be.zip
@Getter(lazy=true) support for javac
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;
+}