mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 12:19:00 +00:00
14 lines
339 B
Java
14 lines
339 B
Java
//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;
|
|
}
|
|
}
|