From b15bcb09e9e05b584e73c999dd9c29b6cfb94a44 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 7 Feb 2011 23:20:19 +0100 Subject: Added test to confirm behaviour of @RequiredArgsConstructor, @ToString, and @Getter on enums. --- test/transform/resource/after-ecj/DataOnEnum.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/transform/resource/after-ecj/DataOnEnum.java (limited to 'test/transform/resource/after-ecj/DataOnEnum.java') diff --git a/test/transform/resource/after-ecj/DataOnEnum.java b/test/transform/resource/after-ecj/DataOnEnum.java new file mode 100644 index 00000000..8bab5925 --- /dev/null +++ b/test/transform/resource/after-ecj/DataOnEnum.java @@ -0,0 +1,16 @@ +public @lombok.Getter @lombok.ToString @lombok.RequiredArgsConstructor enum DataOnEnum { + A("hello"), + private final String someField; + () { + } + private @java.lang.SuppressWarnings("all") DataOnEnum(final String someField) { + super(); + this.someField = someField; + } + public @java.lang.SuppressWarnings("all") String getSomeField() { + return this.someField; + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (("DataOnEnum(someField=" + this.getSomeField()) + ")"); + } +} \ No newline at end of file -- cgit