aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/WitherAccessLevel.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2012-07-12 02:58:26 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2012-07-12 02:58:26 +0200
commit3cf9ffed29cfe56734570b1c3c57d924ac7416df (patch)
treed7a9a68e89ccf4af2bf52ad4b90f0c2dc0d6de9b /test/transform/resource/before/WitherAccessLevel.java
parent1865bd7309b9d1dc743f83ccdbd7204fb0939ecd (diff)
downloadlombok-3cf9ffed29cfe56734570b1c3c57d924ac7416df.tar.gz
lombok-3cf9ffed29cfe56734570b1c3c57d924ac7416df.tar.bz2
lombok-3cf9ffed29cfe56734570b1c3c57d924ac7416df.zip
Wither support + tests (javac only; ecj tests are currently set to ignore).
Diffstat (limited to 'test/transform/resource/before/WitherAccessLevel.java')
-rw-r--r--test/transform/resource/before/WitherAccessLevel.java24
1 files changed, 24 insertions, 0 deletions
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) {
+ }
+}