diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-08-26 21:41:10 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-08-27 00:15:47 +0200 |
commit | c11edbf032ce27e448faa00d37245665942095af (patch) | |
tree | 78a08bd85b134c6846389cae2abdd7de0950db77 /test/transform/resource/after-delombok/WithAlreadyExists.java | |
parent | 7bf70ed638fac701c60e2fb29217af7c38056a8c (diff) | |
download | lombok-c11edbf032ce27e448faa00d37245665942095af.tar.gz lombok-c11edbf032ce27e448faa00d37245665942095af.tar.bz2 lombok-c11edbf032ce27e448faa00d37245665942095af.zip |
[With] renaming lombok.experimental.Wither to lombok.experimental.With
Diffstat (limited to 'test/transform/resource/after-delombok/WithAlreadyExists.java')
-rw-r--r-- | test/transform/resource/after-delombok/WithAlreadyExists.java | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WithAlreadyExists.java b/test/transform/resource/after-delombok/WithAlreadyExists.java new file mode 100644 index 00000000..a9cb975d --- /dev/null +++ b/test/transform/resource/after-delombok/WithAlreadyExists.java @@ -0,0 +1,71 @@ +class With1 { + boolean foo; + void withFoo(boolean foo) { + } + With1(boolean foo) { + } +} +class With2 { + boolean foo; + void withFoo(String foo) { + } + With2(boolean foo) { + } +} +class With3 { + String foo; + void withFoo(boolean foo) { + } + With3(String foo) { + } +} +class With4 { + String foo; + void withFoo(String foo) { + } + With4(String foo) { + } +} +class With5 { + String foo; + void withFoo() { + } + With5(String foo) { + } + @java.lang.SuppressWarnings("all") + public With5 withFoo(final String foo) { + return this.foo == foo ? this : new With5(foo); + } +} +class With6 { + String foo; + void withFoo(String foo, int x) { + } + With6(String foo) { + } + @java.lang.SuppressWarnings("all") + public With6 withFoo(final String foo) { + return this.foo == foo ? this : new With6(foo); + } +} +class With7 { + String foo; + void withFoo(String foo, Object... x) { + } + With7(String foo) { + } +} +class With8 { + boolean isFoo; + void withIsFoo(boolean foo) { + } + With8(boolean foo) { + } +} +class With9 { + boolean isFoo; + void withFoo(boolean foo) { + } + With9(boolean foo) { + } +} |