diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-04-04 23:26:01 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-04-04 23:26:20 +0200 |
commit | 3eea3b958946dd813197f00a1292b7a72380878a (patch) | |
tree | 9f8e16f6d1544e28be713d1c57f3666f1ced9494 /test/transform/resource/before | |
parent | 6b0b1a6a7ba73a2c43bb8ab413375505d61aacc6 (diff) | |
download | lombok-3eea3b958946dd813197f00a1292b7a72380878a.tar.gz lombok-3eea3b958946dd813197f00a1292b7a72380878a.tar.bz2 lombok-3eea3b958946dd813197f00a1292b7a72380878a.zip |
introduction of `@SuperBuilder` and a testcase.
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/SuperBuilderBasic.java (renamed from test/transform/resource/before/BuilderWithInherit.java) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/before/BuilderWithInherit.java b/test/transform/resource/before/SuperBuilderBasic.java index dcc7b5ad..bf3eea64 100644 --- a/test/transform/resource/before/BuilderWithInherit.java +++ b/test/transform/resource/before/SuperBuilderBasic.java @@ -1,15 +1,15 @@ -import lombok.Builder; +import lombok.experimental.SuperBuilder; import lombok.Singular; import java.util.List; -public class BuilderWithInherit { - @Builder(extensible = true) +public class SuperBuilderBasic { + @SuperBuilder public static class Parent { int field1; @Singular List<String> items; } - @Builder(inherit = true) + @SuperBuilder public static class Child extends Parent { double field3; } |