diff options
Diffstat (limited to 'test/transform/resource/after-delombok/WitherAlreadyExists.java')
-rw-r--r-- | test/transform/resource/after-delombok/WitherAlreadyExists.java | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WitherAlreadyExists.java b/test/transform/resource/after-delombok/WitherAlreadyExists.java new file mode 100644 index 00000000..be41f6bc --- /dev/null +++ b/test/transform/resource/after-delombok/WitherAlreadyExists.java @@ -0,0 +1,71 @@ +class Wither1 { + boolean foo; + void withFoo(boolean foo) { + } + Wither1(boolean foo) { + } +} +class Wither2 { + boolean foo; + void withFoo(String foo) { + } + Wither2(boolean foo) { + } +} +class Wither3 { + String foo; + void withFoo(boolean foo) { + } + Wither3(String foo) { + } +} +class Wither4 { + String foo; + void withFoo(String foo) { + } + Wither4(String foo) { + } +} +class Wither5 { + String foo; + void withFoo() { + } + Wither5(String foo) { + } + @java.lang.SuppressWarnings("all") + public Wither5 withFoo(final String foo) { + return this.foo == foo ? this : new Wither5(foo); + } +} +class Wither6 { + String foo; + void withFoo(String foo, int x) { + } + Wither6(String foo) { + } + @java.lang.SuppressWarnings("all") + public Wither6 withFoo(final String foo) { + return this.foo == foo ? this : new Wither6(foo); + } +} +class Wither7 { + String foo; + void withFoo(String foo, Object... x) { + } + Wither7(String foo) { + } +} +class Wither8 { + boolean isFoo; + void withIsFoo(boolean foo) { + } + Wither8(boolean foo) { + } +} +class Wither9 { + boolean isFoo; + void withFoo(boolean foo) { + } + Wither9(boolean foo) { + } +}
\ No newline at end of file |