// Generated by delombok at Sun Nov 06 21:21:45 CET 2022

class BuilderWithToBuilderOnConstructor<T> {
	private String one;
	private String two;
	private T foo;
	private int bar;

	public BuilderWithToBuilderOnConstructor(String one, T bar) {
	}


	@java.lang.SuppressWarnings("all")
	public static class BuilderWithToBuilderOnConstructorBuilder<T> {
		@java.lang.SuppressWarnings("all")
		private String one;
		@java.lang.SuppressWarnings("all")
		private T bar;

		@java.lang.SuppressWarnings("all")
		BuilderWithToBuilderOnConstructorBuilder() {
		}

		/**
		 * @return {@code this}.
		 */
		@java.lang.SuppressWarnings("all")
		public BuilderWithToBuilderOnConstructor.BuilderWithToBuilderOnConstructorBuilder<T> one(final String one) {
			this.one = one;
			return this;
		}

		/**
		 * @return {@code this}.
		 */
		@java.lang.SuppressWarnings("all")
		public BuilderWithToBuilderOnConstructor.BuilderWithToBuilderOnConstructorBuilder<T> bar(final T bar) {
			this.bar = bar;
			return this;
		}

		@java.lang.SuppressWarnings("all")
		public BuilderWithToBuilderOnConstructor<T> build() {
			return new BuilderWithToBuilderOnConstructor<T>(this.one, this.bar);
		}

		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "BuilderWithToBuilderOnConstructor.BuilderWithToBuilderOnConstructorBuilder(one=" + this.one + ", bar=" + this.bar + ")";
		}
	}

	@java.lang.SuppressWarnings("all")
	public static <T> BuilderWithToBuilderOnConstructor.BuilderWithToBuilderOnConstructorBuilder<T> builder() {
		return new BuilderWithToBuilderOnConstructor.BuilderWithToBuilderOnConstructorBuilder<T>();
	}

	@java.lang.SuppressWarnings("all")
	public BuilderWithToBuilderOnConstructor.BuilderWithToBuilderOnConstructorBuilder<T> toBuilder() {
		return new BuilderWithToBuilderOnConstructor.BuilderWithToBuilderOnConstructorBuilder<T>().one(this.one).bar(this.foo);
	}
}
