From 3cf9ffed29cfe56734570b1c3c57d924ac7416df Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 12 Jul 2012 02:58:26 +0200 Subject: Wither support + tests (javac only; ecj tests are currently set to ignore). --- .../resource/before/WitherAccessLevel.java | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test/transform/resource/before/WitherAccessLevel.java (limited to 'test/transform/resource/before/WitherAccessLevel.java') diff --git a/test/transform/resource/before/WitherAccessLevel.java b/test/transform/resource/before/WitherAccessLevel.java new file mode 100644 index 00000000..848be330 --- /dev/null +++ b/test/transform/resource/before/WitherAccessLevel.java @@ -0,0 +1,24 @@ +import lombok.AccessLevel; + +class WitherAccessLevel { + @lombok.experimental.Wither(lombok.AccessLevel.NONE) + boolean isNone; + + @lombok.experimental.Wither(AccessLevel.PRIVATE) + boolean isPrivate; + + @lombok.experimental.Wither(lombok.AccessLevel.PACKAGE) + boolean isPackage; + + @lombok.experimental.Wither(AccessLevel.PROTECTED) + boolean isProtected; + + @lombok.experimental.Wither(lombok.AccessLevel.PUBLIC) + boolean isPublic; + + @lombok.experimental.Wither(value=lombok.AccessLevel.PUBLIC) + boolean value; + + WitherAccessLevel(boolean isNone, boolean isPrivate, boolean isPackage, boolean isProtected, boolean isPublic, boolean value) { + } +} -- cgit