diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-04-05 14:22:40 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-04-05 14:22:40 +0200 |
commit | b6fb3c03fa35db3423ea4274f35d2c77859a3286 (patch) | |
tree | 4e34a00e9684baedba46fdf635e5382679c2188d /test/transform/resource/after-ecj | |
parent | 2c93d336c1d694a286b53710cbeaa01339ba3f1c (diff) | |
download | lombok-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.java | 15 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/FieldNameConstantsWeird.java | 9 |
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(); + } +} |