blob: a2e947bdb727e2bfb18bd9824492e4b07e1feeb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class WitherPlain {
int i;
final int foo;
WitherPlain(int i, int foo) {
this.i = i;
this.foo = foo;
}
@java.lang.SuppressWarnings("all")
public WitherPlain withI(final int i) {
return this.i == i ? this : new WitherPlain(i, this.foo);
}
@java.lang.SuppressWarnings("all")
public WitherPlain withFoo(final int foo) {
return this.foo == foo ? this : new WitherPlain(this.i, foo);
}
}
|