diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-11-11 05:55:15 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2010-11-11 05:55:15 +0100 |
commit | 3f00e7c90548cc00fca75ad1975a2ecc05521871 (patch) | |
tree | ae366ad188b29d5af556ad708906382e14a5d435 /test/transform/resource/after-ecj/GetterLazyInvalid.java | |
parent | a9113718ae2adc2d837f9e5a1adf885a4b1aa844 (diff) | |
download | lombok-3f00e7c90548cc00fca75ad1975a2ecc05521871.tar.gz lombok-3f00e7c90548cc00fca75ad1975a2ecc05521871.tar.bz2 lombok-3f00e7c90548cc00fca75ad1975a2ecc05521871.zip |
@Getter(lazy=true) now also works in Eclipse
Diffstat (limited to 'test/transform/resource/after-ecj/GetterLazyInvalid.java')
-rw-r--r-- | test/transform/resource/after-ecj/GetterLazyInvalid.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/GetterLazyInvalid.java b/test/transform/resource/after-ecj/GetterLazyInvalid.java new file mode 100644 index 00000000..eaa22d71 --- /dev/null +++ b/test/transform/resource/after-ecj/GetterLazyInvalid.java @@ -0,0 +1,40 @@ +class GetterLazyInvalidNotFinal { + private @lombok.Getter(lazy = true) String fieldName = ""; + GetterLazyInvalidNotFinal() { + super(); + } +} +class GetterLazyInvalidNotPrivate { + final @lombok.Getter(lazy = true) String fieldName = ""; + GetterLazyInvalidNotPrivate() { + super(); + } +} +class GetterLazyInvalidNotPrivateFinal { + @lombok.Getter(lazy = true) String fieldName = ""; + GetterLazyInvalidNotPrivateFinal() { + super(); + } +} +class GetterLazyInvalidNone { + private final @lombok.Getter(lazy = true,value = lombok.AccessLevel.NONE) String fieldName = ""; + GetterLazyInvalidNone() { + super(); + } +} +@lombok.Getter(lazy = true) class GetterLazyInvalidClass { + private final String fieldName = ""; + public @java.lang.SuppressWarnings("all") String getFieldName() { + return this.fieldName; + } + GetterLazyInvalidClass() { + super(); + } +} +class GetterLazyInvalidNoInit { + private final @lombok.Getter(lazy = true) String fieldName; + GetterLazyInvalidNoInit() { + super(); + this.fieldName = "foo"; + } +}
\ No newline at end of file |