mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 14:21:47 +00:00
[fix #3230] switch setter and self/build methods to allow overloaded
self/build methods
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
public class SuperBuilderWithOverloadedGeneratedMethods {
|
||||
@lombok.experimental.SuperBuilder
|
||||
public static class Parent {
|
||||
int self;
|
||||
}
|
||||
|
||||
@lombok.experimental.SuperBuilder
|
||||
public static class Child extends Parent {
|
||||
double build;
|
||||
}
|
||||
|
||||
public static void test() {
|
||||
Child x = Child.builder().build(0.0).self(5).build();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user