blob: c95b7bab1d871d80d3fdfda18ad99d40dfb5e60a (
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
|
import lombok.With;
class SetterAndWithMethodJavadoc {
@lombok.Setter @lombok.With int i;
@lombok.Setter @lombok.With int j;
SetterAndWithMethodJavadoc(int i, int j) {
super();
this.i = i;
this.j = j;
}
/**
* Some value.
* @param the new value
*/
public @java.lang.SuppressWarnings("all") void setI(final int i) {
this.i = i;
}
/**
* Some value.
* @param the new value
* @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") SetterAndWithMethodJavadoc withI(final int i) {
return ((this.i == i) ? this : new SetterAndWithMethodJavadoc(i, this.j));
}
/**
* Set some other value.
* @param the new other value
*/
public @java.lang.SuppressWarnings("all") void setJ(final int j) {
this.j = j;
}
/**
* Reinstantiate with some other value.
* @param the other new other value
* @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") SetterAndWithMethodJavadoc withJ(final int j) {
return ((this.j == j) ? this : new SetterAndWithMethodJavadoc(this.i, j));
}
}
|