mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 15:11:57 +00:00
16 lines
304 B
Java
16 lines
304 B
Java
public class SuperBuilderWithOverloadedGeneratedMethods {
|
|
@lombok.SuperBuilder
|
|
public static class Parent {
|
|
int self;
|
|
}
|
|
|
|
@lombok.SuperBuilder
|
|
public static class Child extends Parent {
|
|
double build;
|
|
}
|
|
|
|
public static void test() {
|
|
Child x = Child.builder().build(0.0).self(5).build();
|
|
}
|
|
}
|