mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-16 00:20:29 +00:00
37 lines
2.0 KiB
Java
37 lines
2.0 KiB
Java
import lombok.Builder;
|
|
class BuilderWithExistingBuilderClassWithSetterPrefix<T, K extends Number> {
|
|
public static class BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z extends Number> {
|
|
private @java.lang.SuppressWarnings("all") boolean arg2;
|
|
private @java.lang.SuppressWarnings("all") String arg3;
|
|
private Z arg1;
|
|
public void withArg2(boolean arg) {
|
|
}
|
|
@java.lang.SuppressWarnings("all") BuilderWithExistingBuilderClassWithSetterPrefixBuilder() {
|
|
super();
|
|
}
|
|
public @java.lang.SuppressWarnings("all") BuilderWithExistingBuilderClassWithSetterPrefix.BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> withArg1(final Z arg1) {
|
|
this.arg1 = arg1;
|
|
return this;
|
|
}
|
|
public @java.lang.SuppressWarnings("all") BuilderWithExistingBuilderClassWithSetterPrefix.BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> withArg3(final String arg3) {
|
|
this.arg3 = arg3;
|
|
return this;
|
|
}
|
|
public @java.lang.SuppressWarnings("all") BuilderWithExistingBuilderClassWithSetterPrefix<String, Z> build() {
|
|
return BuilderWithExistingBuilderClassWithSetterPrefix.<Z>staticMethod(this.arg1, this.arg2, this.arg3);
|
|
}
|
|
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
|
return (((((("BuilderWithExistingBuilderClassWithSetterPrefix.BuilderWithExistingBuilderClassWithSetterPrefixBuilder(arg1=" + this.arg1) + ", arg2=") + this.arg2) + ", arg3=") + this.arg3) + ")");
|
|
}
|
|
}
|
|
BuilderWithExistingBuilderClassWithSetterPrefix() {
|
|
super();
|
|
}
|
|
public static @Builder(setterPrefix = "with") <Z extends Number>BuilderWithExistingBuilderClassWithSetterPrefix<String, Z> staticMethod(Z arg1, boolean arg2, String arg3) {
|
|
return null;
|
|
}
|
|
public static @java.lang.SuppressWarnings("all") <Z extends Number>BuilderWithExistingBuilderClassWithSetterPrefix.BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> builder() {
|
|
return new BuilderWithExistingBuilderClassWithSetterPrefix.BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z>();
|
|
}
|
|
}
|