mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 08:15:48 +00:00
[fixes #3036] Keep builder default initializer position
This commit is contained in:
1 parent
ff7b1fbb43
commit
16fcff1b44
8 files changed
+405
-7
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import java.util.Arrays;
|
||||
import lombok.Builder;
|
||||
|
||||
@Builder
|
||||
public class BuilderDefaultsTargetTyping {
|
||||
@Builder.Default
|
||||
String foo = doSth(Arrays.asList(1), Arrays.asList('a'));
|
||||
|
||||
static String doSth(java.util.List<Integer> i, java.util.List<Character> c) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user