mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +00:00
Fixing issue #1298: @Builder with recursive generics didn’t work in javac/delombok.
This commit is contained in:
1 parent
fe3490328a
commit
74603cd9d3
6 files changed
+212
-24
No files matched your search
@@ -0,0 +1,13 @@
|
||||
//issue #1298
|
||||
import java.util.Set;
|
||||
import lombok.Builder;
|
||||
import lombok.Value;
|
||||
|
||||
public class BuilderWithRecursiveGenerics {
|
||||
interface Inter<T, U extends Inter<T, U>> {}
|
||||
|
||||
@Builder @Value public static class Test<Foo, Bar extends Set<Foo>, Quz extends Inter<Bar, Quz>> {
|
||||
Foo foo;
|
||||
Bar bar;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user