aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/GetterLazyInvalid.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/GetterLazyInvalid.java')
-rw-r--r--test/transform/resource/after-delombok/GetterLazyInvalid.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/transform/resource/after-delombok/GetterLazyInvalid.java b/test/transform/resource/after-delombok/GetterLazyInvalid.java
index 78cb7c2d..25963921 100644
--- a/test/transform/resource/after-delombok/GetterLazyInvalid.java
+++ b/test/transform/resource/after-delombok/GetterLazyInvalid.java
@@ -8,15 +8,18 @@ class GetterLazyInvalidNotPrivateFinal {
String fieldName = "";
}
class GetterLazyInvalidNone {
- String fieldName = "";
+ private final String fieldName = "";
}
class GetterLazyInvalidClass {
- String fieldName = "";
+ private final String fieldName = "";
@java.lang.SuppressWarnings("all")
public String getFieldName() {
return this.fieldName;
}
}
class GetterLazyInvalidNoInit {
- String fieldName;
+ private final String fieldName;
+ GetterLazyInvalidNoInit() {
+ this.fieldName = "foo";
+ }
} \ No newline at end of file