aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/FieldNameConstantsHandrolled.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/FieldNameConstantsHandrolled.java')
-rw-r--r--test/transform/resource/after-delombok/FieldNameConstantsHandrolled.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/FieldNameConstantsHandrolled.java b/test/transform/resource/after-delombok/FieldNameConstantsHandrolled.java
new file mode 100644
index 00000000..2677cfa0
--- /dev/null
+++ b/test/transform/resource/after-delombok/FieldNameConstantsHandrolled.java
@@ -0,0 +1,30 @@
+class FieldNameConstantsHandrolled1 {
+ int field1;
+ int alsoAField;
+ int thirdField;
+ public enum TypeTest {
+ alsoAField, thirdField, field1;
+ }
+}
+class FieldNameConstantsHandrolled2 {
+ int field1;
+ int alsoAField;
+ int thirdField;
+ public enum TypeTest {
+ alsoAField, thirdField, field1;
+ public String foo() {
+ return name();
+ }
+ }
+}
+
+class FieldNameConstantsHandrolled3 {
+ int field1;
+ int alsoAField;
+ int thirdField;
+ static class Fields {
+ public static final java.lang.String field1 = "field1";
+ public static final java.lang.String thirdField = "thirdField";
+ public static final int alsoAField = 5;
+ }
+} \ No newline at end of file