blob: eea118cb636ce94d8d85e5636342ccec5e6b1fb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//version 8:
//CONF: lombok.addNullAnnotations = checkerframework
import java.util.List;
import lombok.Singular;
class NullAnnotatedCheckerFrameworkSuperBuilder {
@lombok.experimental.SuperBuilder
public static class Parent {
@lombok.Builder.Default int x = 5;
int y;
int z;
@Singular List<String> names;
}
@lombok.experimental.SuperBuilder
public static class ZChild extends Parent {
@lombok.Builder.Default int a = 1;
int b;
}
}
|