aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WithAlreadyExists.java
blob: 6997deb91ad88fc1305c7fde3d3026e0d85b7006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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) {
	}
	/**
	 * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
	 */
	@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) {
	}
	/**
	 * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
	 */
	@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) {
	}
}