From bf8b93701a8527dfc7f82d51d4ac22693b70c95c Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 24 Jan 2012 03:07:14 +0100 Subject: Added test for @Getter(AccessLevel.NONE) --- test/transform/resource/before/DelegateOnGetterNone.java | 14 ++++++++++++++ test/transform/resource/before/GetterNone.java | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 test/transform/resource/before/DelegateOnGetterNone.java create mode 100644 test/transform/resource/before/GetterNone.java (limited to 'test/transform/resource/before') diff --git a/test/transform/resource/before/DelegateOnGetterNone.java b/test/transform/resource/before/DelegateOnGetterNone.java new file mode 100644 index 00000000..f9642e6b --- /dev/null +++ b/test/transform/resource/before/DelegateOnGetterNone.java @@ -0,0 +1,14 @@ +import lombok.AccessLevel; +import lombok.Delegate; +import lombok.Getter; + +@Getter +class DelegateOnGetterNone { + + @Delegate @Getter(AccessLevel.NONE) private final Bar bar; + + private interface Bar { + void setList(java.util.ArrayList list); + int getInt(); + } +} diff --git a/test/transform/resource/before/GetterNone.java b/test/transform/resource/before/GetterNone.java new file mode 100644 index 00000000..8497e4fc --- /dev/null +++ b/test/transform/resource/before/GetterNone.java @@ -0,0 +1,8 @@ +import lombok.AccessLevel; +import lombok.Getter; + +@Getter +class GetterNone { + int i; + @Getter(AccessLevel.NONE) int foo; +} \ No newline at end of file -- cgit