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

class BuilderWithToBuilderOnMethod<T, K> {
	private String one;
	private String two;
	private T foo;
	private K bar;
	private int some;

	public static <Z> BuilderWithToBuilderOnMethod<Z, String> test(String one, Z bar) {
		return new BuilderWithToBuilderOnMethod<Z, String>();
	}


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

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

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

		/**
		 * @return {@code this}.
		 */
		@java.lang.SuppressWarnings("all")
		public BuilderWithToBuilderOnMethod.BuilderWithToBuilderOnMethodBuilder<Z> bar(final Z bar) {
			this.bar = bar;
			return this;
		}

		@java.lang.SuppressWarnings("all")
		public BuilderWithToBuilderOnMethod<Z, String> build() {
			return BuilderWithToBuilderOnMethod.<Z>test(this.one, this.bar);
		}

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

	@java.lang.SuppressWarnings("all")
	public static <Z> BuilderWithToBuilderOnMethod.BuilderWithToBuilderOnMethodBuilder<Z> builder() {
		return new BuilderWithToBuilderOnMethod.BuilderWithToBuilderOnMethodBuilder<Z>();
	}

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