mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-20 00:15:29 +00:00
support for @Builder on methods with a generified return type. Fixes #1420
This commit is contained in:
1 parent
f2530ab37e
commit
d9031506b5
7 files changed
+108
-9
No files matched your search
@@ -165,7 +165,7 @@ class StaticWithToBuilder<T, K> {
|
||||
return this;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public StaticWithToBuilder build() {
|
||||
public StaticWithToBuilder<Z, String> build() {
|
||||
return StaticWithToBuilder.<Z>test(mOne, bar);
|
||||
}
|
||||
@java.lang.Override
|
||||
|
||||
Reference in new issue
Block a user