//version 8: Jackson deps are at least Java7+. //CONF: lombok.builder.className = Test*Name import java.util.List; @com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = JacksonizedBuilderComplex.TestVoidName.class) class JacksonizedBuilderComplex { private static void testVoidWithGenerics(T number, int arg2, String arg3, JacksonizedBuilderComplex selfRef) { } @java.lang.SuppressWarnings("all") @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "with", buildMethodName = "execute") public static class TestVoidName { @java.lang.SuppressWarnings("all") private T number; @java.lang.SuppressWarnings("all") private int arg2; @java.lang.SuppressWarnings("all") private String arg3; @java.lang.SuppressWarnings("all") private JacksonizedBuilderComplex selfRef; @java.lang.SuppressWarnings("all") TestVoidName() { } /** * @return {@code this}. */ @java.lang.SuppressWarnings("all") public JacksonizedBuilderComplex.TestVoidName withNumber(final T number) { this.number = number; return this; } /** * @return {@code this}. */ @java.lang.SuppressWarnings("all") public JacksonizedBuilderComplex.TestVoidName withArg2(final int arg2) { this.arg2 = arg2; return this; } /** * @return {@code this}. */ @java.lang.SuppressWarnings("all") public JacksonizedBuilderComplex.TestVoidName withArg3(final String arg3) { this.arg3 = arg3; return this; } /** * @return {@code this}. */ @java.lang.SuppressWarnings("all") public JacksonizedBuilderComplex.TestVoidName withSelfRef(final JacksonizedBuilderComplex selfRef) { this.selfRef = selfRef; return this; } @java.lang.SuppressWarnings("all") public void execute() { JacksonizedBuilderComplex.testVoidWithGenerics(this.number, this.arg2, this.arg3, this.selfRef); } @java.lang.Override @java.lang.SuppressWarnings("all") public java.lang.String toString() { return "JacksonizedBuilderComplex.TestVoidName(number=" + this.number + ", arg2=" + this.arg2 + ", arg3=" + this.arg3 + ", selfRef=" + this.selfRef + ")"; } } @java.lang.SuppressWarnings("all") public static JacksonizedBuilderComplex.TestVoidName builder() { return new JacksonizedBuilderComplex.TestVoidName(); } }