aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderWithRecursiveGenericsWithSetterPrefix.java
blob: ce8803c094312ceb86ba2615df9ab13b51cd6ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//issue #1298
import java.util.Set;
import lombok.Builder;
import lombok.Value;

public class BuilderWithRecursiveGenericsWithSetterPrefix {
	interface Inter<T, U extends Inter<T, U>> {}
	
	@Builder(setterPrefix = "with") @Value public static class Test<Foo, Bar extends Set<Foo>, Quz extends Inter<Bar, Quz>> {
		Foo foo;
		Bar bar;
	}
}