blob: 8c0505e7024afac462c6d13070bf04dcc7b90974 (
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
41
42
43
44
45
46
|
class SetterAndWitherJavadoc {
/**
* Some value.
*/
int i;
/**
* Some other value.
*/
int j;
SetterAndWitherJavadoc(int i, int j) {
this.i = i;
this.j = j;
}
/**
* Some value.
* @param the new value
*/
@java.lang.SuppressWarnings("all")
public void setI(final int i) {
this.i = i;
}
/**
* Some value.
* @param the new value
*/
@java.lang.SuppressWarnings("all")
public SetterAndWitherJavadoc withI(final int i) {
return this.i == i ? this : new SetterAndWitherJavadoc(i, this.j);
}
/**
* Set some other value.
* @param the new other value
*/
@java.lang.SuppressWarnings("all")
public void setJ(final int j) {
this.j = j;
}
/**
* Reinstantiate with some other value.
* @param the other new other value
*/
@java.lang.SuppressWarnings("all")
public SetterAndWitherJavadoc withJ(final int j) {
return this.j == j ? this : new SetterAndWitherJavadoc(this.i, j);
}
}
|