blob: c9c96d0a61c15b5c6fd0cfea06e80a316c98376d (
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
|
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.beans.ConstructorProperties({"i", "s"}) @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");
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");
this.s = s;
}
public @java.lang.SuppressWarnings("all") void setO(final Object o) {
this.o = o;
}
}
|