aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-04-05 14:22:40 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-04-05 14:22:40 +0200
commitb6fb3c03fa35db3423ea4274f35d2c77859a3286 (patch)
tree4e34a00e9684baedba46fdf635e5382679c2188d /test/transform/resource/after-ecj
parent2c93d336c1d694a286b53710cbeaa01339ba3f1c (diff)
downloadlombok-b6fb3c03fa35db3423ea4274f35d2c77859a3286.tar.gz
lombok-b6fb3c03fa35db3423ea4274f35d2c77859a3286.tar.bz2
lombok-b6fb3c03fa35db3423ea4274f35d2c77859a3286.zip
[fieldNameConstants] code review, docs, tests, fixup.
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r--test/transform/resource/after-ecj/FieldNameConstantsBasic.java15
-rw-r--r--test/transform/resource/after-ecj/FieldNameConstantsWeird.java9
2 files changed, 24 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/FieldNameConstantsBasic.java b/test/transform/resource/after-ecj/FieldNameConstantsBasic.java
new file mode 100644
index 00000000..bfa339fb
--- /dev/null
+++ b/test/transform/resource/after-ecj/FieldNameConstantsBasic.java
@@ -0,0 +1,15 @@
+import lombok.experimental.FieldNameConstants;
+import lombok.AccessLevel;
+public @FieldNameConstants class FieldNameConstantsBasic {
+ public static final java.lang.String BUT_PRINT_ME_PLEASE = "butPrintMePlease";
+ protected static final java.lang.String I_AM_A_DVD_PLAYER = "iAmADvdPlayer";
+ @FieldNameConstants(level = AccessLevel.PROTECTED) String iAmADvdPlayer;
+ int $skipMe;
+ static double skipMeToo;
+ String butPrintMePlease;
+ <clinit>() {
+ }
+ public FieldNameConstantsBasic() {
+ super();
+ }
+}
diff --git a/test/transform/resource/after-ecj/FieldNameConstantsWeird.java b/test/transform/resource/after-ecj/FieldNameConstantsWeird.java
new file mode 100644
index 00000000..c581b7ef
--- /dev/null
+++ b/test/transform/resource/after-ecj/FieldNameConstantsWeird.java
@@ -0,0 +1,9 @@
+import lombok.experimental.FieldNameConstants;
+import lombok.AccessLevel;
+public @FieldNameConstants class FieldNameConstantsWeird {
+ @FieldNameConstants(level = AccessLevel.NONE) String iAmADvdPlayer;
+ String X;
+ public FieldNameConstantsWeird() {
+ super();
+ }
+}