aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ToStringWithConstantRefInOf.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/ToStringWithConstantRefInOf.java')
-rw-r--r--test/transform/resource/before/ToStringWithConstantRefInOf.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/before/ToStringWithConstantRefInOf.java b/test/transform/resource/before/ToStringWithConstantRefInOf.java
new file mode 100644
index 00000000..6246dcaf
--- /dev/null
+++ b/test/transform/resource/before/ToStringWithConstantRefInOf.java
@@ -0,0 +1,10 @@
+//skip compare contents
+import lombok.ToString;
+
+@ToString(of = ToStringWithConstantRefInOf.FIELD_NAME)
+public class ToStringWithConstantRefInOf {
+ static final String FIELD_NAME = "id";
+ private String id;
+ private int whatever;
+}
+