blob: 0f478ed1a28a0405f8bb11095311d87ace4667ff (
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 BuilderWithNoBuilderMethodWithSetterPrefix {
private String a = "";
@java.lang.SuppressWarnings("all")
BuilderWithNoBuilderMethodWithSetterPrefix(final String a) {
this.a = a;
}
@java.lang.SuppressWarnings("all")
public static class BuilderWithNoBuilderMethodWithSetterPrefixBuilder {
@java.lang.SuppressWarnings("all")
private String a;
@java.lang.SuppressWarnings("all")
BuilderWithNoBuilderMethodWithSetterPrefixBuilder() {
}
@java.lang.SuppressWarnings("all")
public BuilderWithNoBuilderMethodWithSetterPrefixBuilder withA(final String a) {
this.a = a;
return this;
}
@java.lang.SuppressWarnings("all")
public BuilderWithNoBuilderMethodWithSetterPrefix build() {
return new BuilderWithNoBuilderMethodWithSetterPrefix(a);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "BuilderWithNoBuilderMethodWithSetterPrefix.BuilderWithNoBuilderMethodWithSetterPrefixBuilder(a=" + this.a + ")";
}
}
@java.lang.SuppressWarnings("all")
public BuilderWithNoBuilderMethodWithSetterPrefixBuilder toBuilder() {
return new BuilderWithNoBuilderMethodWithSetterPrefixBuilder().withA(this.a);
}
}
|