diff options
Diffstat (limited to 'test/transform/resource/after-ecj/WitherPlain.java')
-rw-r--r-- | test/transform/resource/after-ecj/WitherPlain.java | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/WitherPlain.java b/test/transform/resource/after-ecj/WitherPlain.java index 0facc12f..ae1988bc 100644 --- a/test/transform/resource/after-ecj/WitherPlain.java +++ b/test/transform/resource/after-ecj/WitherPlain.java @@ -1 +1,16 @@ -//ignore +import lombok.experimental.Wither; +class WitherPlain { + @lombok.experimental.Wither int i; + final @Wither int foo; + WitherPlain(int i, int foo) { + super(); + this.i = i; + this.foo = foo; + } + public @java.lang.SuppressWarnings("all") WitherPlain withI(final int i) { + return ((this.i == i) ? this : new WitherPlain(i, this.foo)); + } + public @java.lang.SuppressWarnings("all") WitherPlain withFoo(final int foo) { + return ((this.foo == foo) ? this : new WitherPlain(this.i, foo)); + } +} |