import java.util.List; import lombok.experimental.Builder; class BuilderComplex { public static @java.lang.SuppressWarnings("all") class VoidBuilder { private @java.lang.SuppressWarnings("all") T number; private @java.lang.SuppressWarnings("all") int arg2; private @java.lang.SuppressWarnings("all") String arg3; private @java.lang.SuppressWarnings("all") BuilderComplex selfRef; @java.lang.SuppressWarnings("all") VoidBuilder() { super(); } public @java.lang.SuppressWarnings("all") VoidBuilder number(final T number) { this.number = number; return this; } public @java.lang.SuppressWarnings("all") VoidBuilder arg2(final int arg2) { this.arg2 = arg2; return this; } public @java.lang.SuppressWarnings("all") VoidBuilder arg3(final String arg3) { this.arg3 = arg3; return this; } public @java.lang.SuppressWarnings("all") VoidBuilder selfRef(final BuilderComplex selfRef) { this.selfRef = selfRef; return this; } public @java.lang.SuppressWarnings("all") void execute() { BuilderComplex.testVoidWithGenerics(number, arg2, arg3, selfRef); } public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((((((("BuilderComplex.VoidBuilder(number=" + this.number) + ", arg2=") + this.arg2) + ", arg3=") + this.arg3) + ", selfRef=") + this.selfRef) + ")"); } } BuilderComplex() { super(); } private static @Builder(buildMethodName = "execute") void testVoidWithGenerics(T number, int arg2, String arg3, BuilderComplex selfRef) { } public static @java.lang.SuppressWarnings("all") VoidBuilder builder() { return new VoidBuilder(); } }