mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 08:17:18 +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
@@ -24,7 +24,7 @@ class BuilderWithExistingBuilderClass<T, K extends Number> {
|
||||
return this;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public BuilderWithExistingBuilderClass build() {
|
||||
public BuilderWithExistingBuilderClass<String, Z> build() {
|
||||
return BuilderWithExistingBuilderClass.<Z>staticMethod(arg1, arg2, arg3);
|
||||
}
|
||||
@java.lang.Override
|
||||
|
||||
Reference in new issue
Block a user