aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WithAlreadyExists.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-08-26 21:41:10 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-08-27 00:15:47 +0200
commitc11edbf032ce27e448faa00d37245665942095af (patch)
tree78a08bd85b134c6846389cae2abdd7de0950db77 /test/transform/resource/after-delombok/WithAlreadyExists.java
parent7bf70ed638fac701c60e2fb29217af7c38056a8c (diff)
downloadlombok-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.java71
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) {
+ }
+}