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