From eb22b3fe059486081d2f74afc4e0b80b88411be3 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Mon, 2 Jul 2012 22:18:18 +0200 Subject: Added tests to make sure issue 385 is not caused by a simple bug regarding enums --- test/transform/resource/before/GetterEnum.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/transform/resource/before/GetterEnum.java (limited to 'test/transform/resource/before/GetterEnum.java') diff --git a/test/transform/resource/before/GetterEnum.java b/test/transform/resource/before/GetterEnum.java new file mode 100644 index 00000000..994581f2 --- /dev/null +++ b/test/transform/resource/before/GetterEnum.java @@ -0,0 +1,11 @@ +import lombok.AccessLevel; +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +@RequiredArgsConstructor(access=AccessLevel.PRIVATE) +enum GetterEnum { + ONE(1, "One") + ; + @Getter private final int id; + @Getter private final String name; +} -- cgit