aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderSimpleOnRecord.java
blob: acb6f20a295b84e371ea30b3a7258eda5c70df82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// version 14:
import java.util.List;
public record BuilderSimpleOnRecord<T>(List<T> l, String a) {
	@java.lang.SuppressWarnings("all")
	protected static class BuilderSimpleOnRecordBuilder<T> {
		@java.lang.SuppressWarnings("all")
		private List<T> l;
		@java.lang.SuppressWarnings("all")
		private String a;
		@java.lang.SuppressWarnings("all")
		BuilderSimpleOnRecordBuilder() {
		}
		/**
		 * @return {@code this}.
		 */
		@java.lang.SuppressWarnings("all")
		public BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder<T> l(final List<T> l) {
			this.l = l;
			return this;
		}
		/**
		 * @return {@code this}.
		 */
		@java.lang.SuppressWarnings("all")
		public BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder<T> a(final String a) {
			this.a = a;
			return this;
		}
		@java.lang.SuppressWarnings("all")
		public BuilderSimpleOnRecord<T> build() {
			return new BuilderSimpleOnRecord<T>(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 <T> BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder<T> builder() {
		return new BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder<T>();
	}
}