blob: 0c58425cc124c074d00b2b3fd4df49a4823a5b36 (
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
|
class NonNullPlain {
@lombok.NonNull
int i;
@lombok.NonNull
String s;
@java.lang.SuppressWarnings("all")
public void setI(@lombok.NonNull final int i) {
this.i = i;
}
@lombok.NonNull
@java.lang.SuppressWarnings("all")
public int getI() {
return this.i;
}
@lombok.NonNull
@java.lang.SuppressWarnings("all")
public String getS() {
return this.s;
}
@java.lang.SuppressWarnings("all")
public void setS(@lombok.NonNull final String s) {
if (s == null) throw new java.lang.NullPointerException("s");
this.s = s;
}
}
|