blob: 7097d5a281ecc3a1a20121d753ff17f661565a20 (
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
|
//version 8:
class ConstructorsWithAccessors {
int plower;
int pUpper;
int _huh;
int __huh2;
@java.lang.SuppressWarnings("all")
public ConstructorsWithAccessors(final int plower, final int upper, final int huh, final int _huh2) {
this.plower = plower;
this.pUpper = upper;
this._huh = huh;
this.__huh2 = _huh2;
}
}
class ConstructorsWithAccessorsNonNull {
@lombok.NonNull
Integer plower;
@lombok.NonNull
Integer pUpper;
@lombok.NonNull
Integer _huh;
@lombok.NonNull
final Integer __huh2;
@java.lang.SuppressWarnings("all")
public ConstructorsWithAccessorsNonNull(@lombok.NonNull final Integer plower, @lombok.NonNull final Integer upper, @lombok.NonNull final Integer huh, @lombok.NonNull final Integer _huh2) {
if (plower == null) {
throw new java.lang.NullPointerException("plower is marked non-null but is null");
}
if (upper == null) {
throw new java.lang.NullPointerException("upper is marked non-null but is null");
}
if (huh == null) {
throw new java.lang.NullPointerException("huh is marked non-null but is null");
}
if (_huh2 == null) {
throw new java.lang.NullPointerException("_huh2 is marked non-null but is null");
}
this.plower = plower;
this.pUpper = upper;
this._huh = huh;
this.__huh2 = _huh2;
}
}
|