mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-07 22:20:51 +00:00
Duplicate builder tests with setter prefix
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import lombok.Builder;
|
||||
|
||||
class BuilderWithExistingBuilderClass<T, K extends Number> {
|
||||
@Builder(setterPrefix = "with")
|
||||
public static <Z extends Number> BuilderWithExistingBuilderClass<String, Z> staticMethod(Z arg1, boolean arg2, String arg3) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static class BuilderWithExistingBuilderClassBuilder<Z extends Number> {
|
||||
private Z arg1;
|
||||
|
||||
public void withArg2(boolean arg) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user