aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SuperBuilderAbstract.java
blob: 23f284e2e66ea333bcaee76201180dee38a4a915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
public class SuperBuilderAbstract {
	@lombok.experimental.SuperBuilder
	public static class Parent {
		int parentField;
	}
	
	@lombok.experimental.SuperBuilder
	public abstract static class Child extends Parent {
		double childField;
	}
	
	@lombok.experimental.SuperBuilder
	public static class GrandChild extends Child {
		String grandChildField;
	}
	
	public static void test() {
		GrandChild x = GrandChild.builder().grandChildField("").parentField(5).childField(2.5).build();
	}
}