// version 14: import java.util.List; public record BuilderSimpleOnRecord(List l, String a) { @java.lang.SuppressWarnings("all") protected static class BuilderSimpleOnRecordBuilder { @java.lang.SuppressWarnings("all") private List l; @java.lang.SuppressWarnings("all") private String a; @java.lang.SuppressWarnings("all") BuilderSimpleOnRecordBuilder() { } /** * @return {@code this}. */ @java.lang.SuppressWarnings("all") public BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder l(final List l) { this.l = l; return this; } /** * @return {@code this}. */ @java.lang.SuppressWarnings("all") public BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder a(final String a) { this.a = a; return this; } @java.lang.SuppressWarnings("all") public BuilderSimpleOnRecord build() { return new BuilderSimpleOnRecord(this.l, this.a); } @java.lang.Override @java.lang.SuppressWarnings("all") public java.lang.String toString() { return "BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder(l=" + this.l + ", a=" + this.a + ")"; } } @java.lang.SuppressWarnings("all") protected static BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder builder() { return new BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder(); } }