blob: f413be2387184c84d202918077c7f370f5a68047 (
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
|
public class BuilderWithBadNames {
String build;
String toString;
@java.lang.SuppressWarnings("all")
BuilderWithBadNames(final String build, final String toString) {
this.build = build;
this.toString = toString;
}
@java.lang.SuppressWarnings("all")
public static class BuilderWithBadNamesBuilder {
@java.lang.SuppressWarnings("all")
private String build;
@java.lang.SuppressWarnings("all")
private String toString;
@java.lang.SuppressWarnings("all")
BuilderWithBadNamesBuilder() {
}
@java.lang.SuppressWarnings("all")
public BuilderWithBadNamesBuilder build(final String build) {
this.build = build;
return this;
}
@java.lang.SuppressWarnings("all")
public BuilderWithBadNamesBuilder toString(final String toString) {
this.toString = toString;
return this;
}
@java.lang.SuppressWarnings("all")
public BuilderWithBadNames build() {
return new BuilderWithBadNames(build, toString);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "BuilderWithBadNames.BuilderWithBadNamesBuilder(build=" + this.build + ", toString=" + this.toString + ")";
}
}
@java.lang.SuppressWarnings("all")
public static BuilderWithBadNamesBuilder builder() {
return new BuilderWithBadNamesBuilder();
}
}
|