aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/NullAnnotatedCheckerFrameworkSuperBuilder.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/transform/resource/before/NullAnnotatedCheckerFrameworkSuperBuilder.java b/test/transform/resource/before/NullAnnotatedCheckerFrameworkSuperBuilder.java
new file mode 100644
index 00000000..39bb0fcc
--- /dev/null
+++ b/test/transform/resource/before/NullAnnotatedCheckerFrameworkSuperBuilder.java
@@ -0,0 +1,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;
+ }
+}