mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 00:14:50 +00:00
[promotion] SuperBuilder promoted to main package.
This commit is contained in:
87 files changed
+535
-140
No files matched your search
@@ -1,13 +1,13 @@
|
||||
import java.util.List;
|
||||
|
||||
public class SuperBuilderWithGenerics2 {
|
||||
@lombok.experimental.SuperBuilder
|
||||
@lombok.SuperBuilder
|
||||
public static class Parent<A> {
|
||||
A field1;
|
||||
@lombok.Singular List<String> items;
|
||||
}
|
||||
|
||||
@lombok.experimental.SuperBuilder(builderMethodName="builder2")
|
||||
@lombok.SuperBuilder(builderMethodName="builder2")
|
||||
public static class Child<A> extends Parent<String> {
|
||||
A field3;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user