diff options
Diffstat (limited to 'test/transform/resource/after-ecj/WitherAlreadyExists.java')
-rw-r--r-- | test/transform/resource/after-ecj/WitherAlreadyExists.java | 79 |
1 files changed, 78 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/WitherAlreadyExists.java b/test/transform/resource/after-ecj/WitherAlreadyExists.java index 0facc12f..ded10755 100644 --- a/test/transform/resource/after-ecj/WitherAlreadyExists.java +++ b/test/transform/resource/after-ecj/WitherAlreadyExists.java @@ -1 +1,78 @@ -//ignore +class Wither1 { + @lombok.experimental.Wither boolean foo; + void withFoo(boolean foo) { + } + Wither1(boolean foo) { + super(); + } +} +class Wither2 { + @lombok.experimental.Wither boolean foo; + void withFoo(String foo) { + } + Wither2(boolean foo) { + super(); + } +} +class Wither3 { + @lombok.experimental.Wither String foo; + void withFoo(boolean foo) { + } + Wither3(String foo) { + super(); + } +} +class Wither4 { + @lombok.experimental.Wither String foo; + void withFoo(String foo) { + } + Wither4(String foo) { + super(); + } +} +class Wither5 { + @lombok.experimental.Wither String foo; + void withFoo() { + } + Wither5(String foo) { + super(); + } + public @java.lang.SuppressWarnings("all") Wither5 withFoo(final String foo) { + return ((this.foo == foo) ? this : new Wither5(foo)); + } +} +class Wither6 { + @lombok.experimental.Wither String foo; + void withFoo(String foo, int x) { + } + Wither6(String foo) { + super(); + } + public @java.lang.SuppressWarnings("all") Wither6 withFoo(final String foo) { + return ((this.foo == foo) ? this : new Wither6(foo)); + } +} +class Wither7 { + @lombok.experimental.Wither String foo; + void withFoo(String foo, Object... x) { + } + Wither7(String foo) { + super(); + } +} +class Wither8 { + @lombok.experimental.Wither boolean isFoo; + void withIsFoo(boolean foo) { + } + Wither8(boolean foo) { + super(); + } +} +class Wither9 { + @lombok.experimental.Wither boolean isFoo; + void withFoo(boolean foo) { + } + Wither9(boolean foo) { + super(); + } +} |