aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderWithNoBuilderMethod.java
blob: 35e2c79e8a2f9d7f078cb25ab65b0c5586eb1786 (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
class BuilderWithNoBuilderMethod {
	private String a = "";
	@java.lang.SuppressWarnings("all")
	BuilderWithNoBuilderMethod(final String a) {
		this.a = a;
	}
	@java.lang.SuppressWarnings("all")
	public static class BuilderWithNoBuilderMethodBuilder {
		@java.lang.SuppressWarnings("all")
		private String a;
		@java.lang.SuppressWarnings("all")
		BuilderWithNoBuilderMethodBuilder() {
		}
		@java.lang.SuppressWarnings("all")
		public BuilderWithNoBuilderMethodBuilder a(final String a) {
			this.a = a;
			return this;
		}
		@java.lang.SuppressWarnings("all")
		public BuilderWithNoBuilderMethod build() {
			return new BuilderWithNoBuilderMethod(a);
		}
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "BuilderWithNoBuilderMethod.BuilderWithNoBuilderMethodBuilder(a=" + this.a + ")";
		}
	}
	@java.lang.SuppressWarnings("all")
	public BuilderWithNoBuilderMethodBuilder toBuilder() {
		return new BuilderWithNoBuilderMethodBuilder().a(this.a);
	}
}