blob: 2a772c9322491099af71bf9ae24414efe279edbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// version 16:
import lombok.NonNull;
public record NonNullOnRecordSimple(@NonNull String a, @NonNull String b) {
@java.lang.SuppressWarnings("all")
public NonNullOnRecordSimple {
if (a == null) {
throw new java.lang.NullPointerException("a is marked non-null but is null");
}
if (b == null) {
throw new java.lang.NullPointerException("b is marked non-null but is null");
}
}
}
|