blob: bf43cb7f17ac56c266c2f18b01706237c6a7eb3c (
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
|
import java.lang.annotation.*;
@lombok.RequiredArgsConstructor @lombok.Getter @lombok.Setter class NonNullPlain {
public @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE}) @Retention(RetentionPolicy.CLASS) @interface NotNull {
}
@lombok.NonNull int i;
@lombok.NonNull String s;
@NotNull Object o;
public @java.lang.SuppressWarnings("all") NonNullPlain(final @lombok.NonNull int i, final @lombok.NonNull String s) {
super();
if ((s == null))
{
throw new java.lang.NullPointerException("s is marked non-null but is null");
}
this.i = i;
this.s = s;
}
public @lombok.NonNull @java.lang.SuppressWarnings("all") int getI() {
return this.i;
}
public @lombok.NonNull @java.lang.SuppressWarnings("all") String getS() {
return this.s;
}
public @java.lang.SuppressWarnings("all") Object getO() {
return this.o;
}
public @java.lang.SuppressWarnings("all") void setI(final @lombok.NonNull int i) {
this.i = i;
}
public @java.lang.SuppressWarnings("all") void setS(final @lombok.NonNull String s) {
if ((s == null))
{
throw new java.lang.NullPointerException("s is marked non-null but is null");
}
this.s = s;
}
public @java.lang.SuppressWarnings("all") void setO(final Object o) {
this.o = o;
}
}
|