blob: c29d2a1622f7ee6c98c5ec229a6924fadca3a4e5 (
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
|
import java.util.List;
class BuilderWithPrefix<T> {
private int unprefixed;
@java.lang.SuppressWarnings("all")
BuilderWithPrefix(final int unprefixed) {
this.unprefixed = unprefixed;
}
@java.lang.SuppressWarnings("all")
protected static class BuilderWithPrefixBuilder<T> {
@java.lang.SuppressWarnings("all")
private int unprefixed;
@java.lang.SuppressWarnings("all")
BuilderWithPrefixBuilder() {
}
@java.lang.SuppressWarnings("all")
public BuilderWithPrefixBuilder<T> withUnprefixed(final int unprefixed) {
this.unprefixed = unprefixed;
return this;
}
@java.lang.SuppressWarnings("all")
public BuilderWithPrefix<T> build() {
return new BuilderWithPrefix<T>(unprefixed);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "BuilderWithPrefix.BuilderWithPrefixBuilder(unprefixed=" + this.unprefixed + ")";
}
}
@java.lang.SuppressWarnings("all")
protected static <T> BuilderWithPrefixBuilder<T> builder() {
return new BuilderWithPrefixBuilder<T>();
}
}
|