import java.util.List; class BuilderConstructorJavadoc { /** * This is a comment * * @param basic tag is moved to the setter * @param multiline a param comment * can be on multiple lines and can use * {@code @code} or tags * @param predef don't copy this one * @param predefWithJavadoc don't copy this one */ BuilderConstructorJavadoc(int basic, int multiline, int predef, int predefWithJavadoc) { } public static class BuilderConstructorJavadocBuilder { @java.lang.SuppressWarnings("all") private int basic; @java.lang.SuppressWarnings("all") private int multiline; @java.lang.SuppressWarnings("all") private int predef; @java.lang.SuppressWarnings("all") private int predefWithJavadoc; public BuilderConstructorJavadocBuilder predef(final int x) { this.predef = x; return this; } /** * This javadoc remains untouched. * @param x 1/100 of the thing * @return the updated builder */ public BuilderConstructorJavadocBuilder predefWithJavadoc(final int x) { this.predefWithJavadoc = x; return this; } @java.lang.SuppressWarnings("all") BuilderConstructorJavadocBuilder() { } /** * @param basic tag is moved to the setter * @return {@code this}. */ @java.lang.SuppressWarnings("all") public BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder basic(final int basic) { this.basic = basic; return this; } /** * @param multiline a param comment * can be on multiple lines and can use * {@code @code} or tags * @return {@code this}. */ @java.lang.SuppressWarnings("all") public BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder multiline(final int multiline) { this.multiline = multiline; return this; } @java.lang.SuppressWarnings("all") public BuilderConstructorJavadoc build() { return new BuilderConstructorJavadoc(this.basic, this.multiline, this.predef, this.predefWithJavadoc); } @java.lang.Override @java.lang.SuppressWarnings("all") public java.lang.String toString() { return "BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder(basic=" + this.basic + ", multiline=" + this.multiline + ", predef=" + this.predef + ", predefWithJavadoc=" + this.predefWithJavadoc + ")"; } } @java.lang.SuppressWarnings("all") public static BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder builder() { return new BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder(); } }