aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderSimpleOnRecord.java
blob: 03aca3aa28b1278fdf2d4606fb0a77c47ff9580b (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
import java.util.List;

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() {
		}

		@java.lang.SuppressWarnings("all")
		public BuilderSimpleOnRecord.BuilderSimpleOnRecordBuilder<T> l(final List<T> l) {
			this.l = l;
			return 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>();
	}
}