blob: 39bb0fcc555c4aa461abf2831d190fc74be30eed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//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;
}
}
|