diff options
Diffstat (limited to 'test/transform/resource/after-delombok/GetterLazyInvalid.java')
-rw-r--r-- | test/transform/resource/after-delombok/GetterLazyInvalid.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/GetterLazyInvalid.java b/test/transform/resource/after-delombok/GetterLazyInvalid.java new file mode 100644 index 00000000..25963921 --- /dev/null +++ b/test/transform/resource/after-delombok/GetterLazyInvalid.java @@ -0,0 +1,25 @@ +class GetterLazyInvalidNotFinal { + private String fieldName = ""; +} +class GetterLazyInvalidNotPrivate { + final String fieldName = ""; +} +class GetterLazyInvalidNotPrivateFinal { + String fieldName = ""; +} +class GetterLazyInvalidNone { + private final String fieldName = ""; +} +class GetterLazyInvalidClass { + private final String fieldName = ""; + @java.lang.SuppressWarnings("all") + public String getFieldName() { + return this.fieldName; + } +} +class GetterLazyInvalidNoInit { + private final String fieldName; + GetterLazyInvalidNoInit() { + this.fieldName = "foo"; + } +}
\ No newline at end of file |