blob: 2b9ebe79c924701c93c83a046fb95519c03a2b5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import lombok.experimental.*;
class WitherLegacyStar {
@Wither int i;
WitherLegacyStar(int i) {
super();
this.i = i;
}
/**
* @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
*/
public @java.lang.SuppressWarnings("all") WitherLegacyStar withI(final int i) {
return ((this.i == i) ? this : new WitherLegacyStar(i));
}
}
|