aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SuperBuilderWithDefaultsAndTargetTyping.java
blob: 996615b6752671366f6857e703c32a4e51cb2376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.util.Arrays;
import lombok.Builder;

public class SuperBuilderWithDefaultsAndTargetTyping {
	@lombok.experimental.SuperBuilder
	public static class Parent {
		@lombok.Builder.Default private String foo = doSth(Arrays.asList(1), Arrays.asList('a'));
	}
	
	@lombok.experimental.SuperBuilder
	public static class Child extends Parent {
		@lombok.Builder.Default private String foo = doSth(Arrays.asList(1), Arrays.asList('a'));
	}
	
	static String doSth(java.util.List<Integer> i, java.util.List<Character> c) {
		return null;
	}
}