aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DataOnEnum.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-02-07 23:20:19 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-02-07 23:21:15 +0100
commitb15bcb09e9e05b584e73c999dd9c29b6cfb94a44 (patch)
tree50b14d9296222133830ebc761154ff6e2633c8ef /test/transform/resource/before/DataOnEnum.java
parent492c6f3da86fd5deb4c842bdaadc6396dc831237 (diff)
downloadlombok-b15bcb09e9e05b584e73c999dd9c29b6cfb94a44.tar.gz
lombok-b15bcb09e9e05b584e73c999dd9c29b6cfb94a44.tar.bz2
lombok-b15bcb09e9e05b584e73c999dd9c29b6cfb94a44.zip
Added test to confirm behaviour of @RequiredArgsConstructor, @ToString, and @Getter on enums.
Diffstat (limited to 'test/transform/resource/before/DataOnEnum.java')
-rw-r--r--test/transform/resource/before/DataOnEnum.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/transform/resource/before/DataOnEnum.java b/test/transform/resource/before/DataOnEnum.java
new file mode 100644
index 00000000..e10c93eb
--- /dev/null
+++ b/test/transform/resource/before/DataOnEnum.java
@@ -0,0 +1,7 @@
+@lombok.Getter
+@lombok.ToString
+@lombok.RequiredArgsConstructor
+public enum DataOnEnum {
+ A("hello");
+ private final String someField;
+} \ No newline at end of file