aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/CheckerFrameworkSuperBuilder.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-08-22 23:26:55 +0200
committerGitHub <noreply@github.com>2019-08-22 23:26:55 +0200
commitdb19a9fd8320a0abf7a530e9e35639089ce77050 (patch)
treebfd83d64061f1606470e91ae24dc4c8693b10015 /test/transform/resource/before/CheckerFrameworkSuperBuilder.java
parent819d1956761f6077fdf897e77c4f6ac47e92104e (diff)
parentba8fd3782819682b3f4081cb410b6d43055989b9 (diff)
downloadlombok-db19a9fd8320a0abf7a530e9e35639089ce77050.tar.gz
lombok-db19a9fd8320a0abf7a530e9e35639089ce77050.tar.bz2
lombok-db19a9fd8320a0abf7a530e9e35639089ce77050.zip
Merge branch 'master' into clone-type
Diffstat (limited to 'test/transform/resource/before/CheckerFrameworkSuperBuilder.java')
-rw-r--r--test/transform/resource/before/CheckerFrameworkSuperBuilder.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/transform/resource/before/CheckerFrameworkSuperBuilder.java b/test/transform/resource/before/CheckerFrameworkSuperBuilder.java
new file mode 100644
index 00000000..74d50ef1
--- /dev/null
+++ b/test/transform/resource/before/CheckerFrameworkSuperBuilder.java
@@ -0,0 +1,19 @@
+//CONF: checkerframework = true
+import java.util.List;
+import lombok.Singular;
+
+class CheckerFrameworkSuperBuilder {
+ @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 Child extends Parent {
+ @lombok.Builder.Default int a = 1;
+ int b;
+ }
+}