aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/FieldNameConstantsBasic.java8
-rw-r--r--test/transform/resource/after-delombok/FieldNameConstantsConfigKeys.java7
-rw-r--r--test/transform/resource/after-delombok/FieldNameConstantsEnum.java10
-rw-r--r--test/transform/resource/after-delombok/FieldNameConstantsWeird.java6
4 files changed, 21 insertions, 10 deletions
diff --git a/test/transform/resource/after-delombok/FieldNameConstantsBasic.java b/test/transform/resource/after-delombok/FieldNameConstantsBasic.java
index 4e547aa5..8be45d2b 100644
--- a/test/transform/resource/after-delombok/FieldNameConstantsBasic.java
+++ b/test/transform/resource/after-delombok/FieldNameConstantsBasic.java
@@ -1,8 +1,12 @@
public class FieldNameConstantsBasic {
- protected static final java.lang.String FIELD_I_AM_A_DVD_PLAYER = "iAmADvdPlayer";
- public static final java.lang.String FIELD_BUT_PRINT_ME_PLEASE = "butPrintMePlease";
String iAmADvdPlayer;
int $skipMe;
static double skipMeToo;
+ int andMe;
String butPrintMePlease;
+ @java.lang.SuppressWarnings("all")
+ static final class Fields {
+ public static final java.lang.String butPrintMePlease = "butPrintMePlease";
+ public static final java.lang.String iAmADvdPlayer = "iAmADvdPlayer";
+ }
}
diff --git a/test/transform/resource/after-delombok/FieldNameConstantsConfigKeys.java b/test/transform/resource/after-delombok/FieldNameConstantsConfigKeys.java
index c71b9264..4c2a53e3 100644
--- a/test/transform/resource/after-delombok/FieldNameConstantsConfigKeys.java
+++ b/test/transform/resource/after-delombok/FieldNameConstantsConfigKeys.java
@@ -1,4 +1,7 @@
public class FieldNameConstantsConfigKeys {
- public static final java.lang.String I_AM_A_DVD_PLAYER_SFX = "iAmADvdPlayer";
String iAmADvdPlayer;
-}
+ @java.lang.SuppressWarnings("all")
+ public static final class Foobar {
+ public static final java.lang.String iAmADvdPlayer = "iAmADvdPlayer";
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-delombok/FieldNameConstantsEnum.java b/test/transform/resource/after-delombok/FieldNameConstantsEnum.java
new file mode 100644
index 00000000..c3fbf0c2
--- /dev/null
+++ b/test/transform/resource/after-delombok/FieldNameConstantsEnum.java
@@ -0,0 +1,10 @@
+public class FieldNameConstantsEnum {
+ String iAmADvdPlayer;
+ int $dontSkipMe;
+ static double alsoDontSkipMe;
+ int butSkipMe;
+ @java.lang.SuppressWarnings("all")
+ public enum TypeTest {
+ iAmADvdPlayer, $dontSkipMe, alsoDontSkipMe;
+ }
+}
diff --git a/test/transform/resource/after-delombok/FieldNameConstantsWeird.java b/test/transform/resource/after-delombok/FieldNameConstantsWeird.java
deleted file mode 100644
index 6940f628..00000000
--- a/test/transform/resource/after-delombok/FieldNameConstantsWeird.java
+++ /dev/null
@@ -1,6 +0,0 @@
-public class FieldNameConstantsWeird {
- public static final java.lang.String FIELD_AZ = "A";
- String iAmADvdPlayer;
- String X;
- String A;
-}