blob: 97524b9d720c2791c5e5b6f9845adea8e1fd5b5e (
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 SetterAndWithMethodJavadoc {
/**
* Some value.
*/
int i;
/**
* Some other value.
*/
int j;
SetterAndWithMethodJavadoc(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 SetterAndWithMethodJavadoc withI(final int i) {
return this.i == i ? this : new SetterAndWithMethodJavadoc(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 SetterAndWithMethodJavadoc withJ(final int j) {
return this.j == j ? this : new SetterAndWithMethodJavadoc(this.i, j);
}
}
|