aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WitherAccessLevel.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/WitherAccessLevel.java')
-rw-r--r--test/transform/resource/after-ecj/WitherAccessLevel.java28
1 files changed, 27 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/WitherAccessLevel.java b/test/transform/resource/after-ecj/WitherAccessLevel.java
index 0facc12f..09a2e514 100644
--- a/test/transform/resource/after-ecj/WitherAccessLevel.java
+++ b/test/transform/resource/after-ecj/WitherAccessLevel.java
@@ -1 +1,27 @@
-//ignore
+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) {
+ super();
+ }
+ private @java.lang.SuppressWarnings("all") WitherAccessLevel withPrivate(final boolean isPrivate) {
+ return ((this.isPrivate == isPrivate) ? this : new WitherAccessLevel(this.isNone, isPrivate, this.isPackage, this.isProtected, this.isPublic, this.value));
+ }
+ @java.lang.SuppressWarnings("all") WitherAccessLevel withPackage(final boolean isPackage) {
+ return ((this.isPackage == isPackage) ? this : new WitherAccessLevel(this.isNone, this.isPrivate, isPackage, this.isProtected, this.isPublic, this.value));
+ }
+ protected @java.lang.SuppressWarnings("all") WitherAccessLevel withProtected(final boolean isProtected) {
+ return ((this.isProtected == isProtected) ? this : new WitherAccessLevel(this.isNone, this.isPrivate, this.isPackage, isProtected, this.isPublic, this.value));
+ }
+ public @java.lang.SuppressWarnings("all") WitherAccessLevel withPublic(final boolean isPublic) {
+ return ((this.isPublic == isPublic) ? this : new WitherAccessLevel(this.isNone, this.isPrivate, this.isPackage, this.isProtected, isPublic, this.value));
+ }
+ public @java.lang.SuppressWarnings("all") WitherAccessLevel withValue(final boolean value) {
+ return ((this.value == value) ? this : new WitherAccessLevel(this.isNone, this.isPrivate, this.isPackage, this.isProtected, this.isPublic, value));
+ }
+}