blob: 98c42fe91c881f9a9613d76e2f3e80bd4cc91230 (
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
|
import java.util.List;
@lombok.Builder(access = lombok.AccessLevel.PROTECTED,setterPrefix = "with") class BuilderWithPrefix<T> {
protected static @java.lang.SuppressWarnings("all") class BuilderWithPrefixBuilder<T> {
private @java.lang.SuppressWarnings("all") int unprefixed;
@java.lang.SuppressWarnings("all") BuilderWithPrefixBuilder() {
super();
}
public @java.lang.SuppressWarnings("all") BuilderWithPrefixBuilder<T> withUnprefixed(final int unprefixed) {
this.unprefixed = unprefixed;
return this;
}
public @java.lang.SuppressWarnings("all") BuilderWithPrefix<T> build() {
return new BuilderWithPrefix<T>(unprefixed);
}
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
return (("BuilderWithPrefix.BuilderWithPrefixBuilder(unprefixed=" + this.unprefixed) + ")");
}
}
private int unprefixed;
@java.lang.SuppressWarnings("all") BuilderWithPrefix(final int unprefixed) {
super();
this.unprefixed = unprefixed;
}
protected static @java.lang.SuppressWarnings("all") <T>BuilderWithPrefixBuilder<T> builder() {
return new BuilderWithPrefixBuilder<T>();
}
}
|