import java.util.List; class BuilderCustomName { private final int field; @java.lang.SuppressWarnings("all") public static abstract class SimpleTestBuilder, B extends BuilderCustomName.SimpleTestBuilder> { @java.lang.SuppressWarnings("all") private int field; /** * @return {@code this}. */ @java.lang.SuppressWarnings("all") public B field(final int field) { this.field = field; return self(); } @java.lang.SuppressWarnings("all") protected abstract B self(); @java.lang.SuppressWarnings("all") public abstract C build(); @java.lang.Override @java.lang.SuppressWarnings("all") public java.lang.String toString() { return "BuilderCustomName.SimpleTestBuilder(field=" + this.field + ")"; } } @java.lang.SuppressWarnings("all") private static final class SimpleTestBuilderImpl extends BuilderCustomName.SimpleTestBuilder, BuilderCustomName.SimpleTestBuilderImpl> { @java.lang.SuppressWarnings("all") private SimpleTestBuilderImpl() { } @java.lang.Override @java.lang.SuppressWarnings("all") protected BuilderCustomName.SimpleTestBuilderImpl self() { return this; } @java.lang.Override @java.lang.SuppressWarnings("all") public BuilderCustomName build() { return new BuilderCustomName(this); } } @java.lang.SuppressWarnings("all") protected BuilderCustomName(final BuilderCustomName.SimpleTestBuilder b) { this.field = b.field; } @java.lang.SuppressWarnings("all") public static BuilderCustomName.SimpleTestBuilder builder() { return new BuilderCustomName.SimpleTestBuilderImpl(); } }