blob: 90d55ceeac7995eb782079bfc195e4f0096e4acc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class WitherLegacyStar {
int i;
WitherLegacyStar(int i) {
this.i = i;
}
/**
* @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 WitherLegacyStar withI(final int i) {
return this.i == i ? this : new WitherLegacyStar(i);
}
}
|