mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 09:13:36 +00:00
28 lines
1.2 KiB
Java
28 lines
1.2 KiB
Java
import java.util.List;
|
|
@lombok.Builder(access = lombok.AccessLevel.PROTECTED,setterPrefix = "with") class BuilderSimpleWithSetterPrefix<T> {
|
|
protected static @java.lang.SuppressWarnings("all") class BuilderSimpleWithSetterPrefix<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") BuilderSimpleWithSetterPrefixBuilder(final int unprefixed) {
|
|
super();
|
|
this.unprefixed = unprefixed;
|
|
}
|
|
protected static @java.lang.SuppressWarnings("all") <T>BuilderSimpleWithSetterPrefixBuilder<T> builder() {
|
|
return new BuilderSimpleWithSetterPrefixBuilder<T>();
|
|
}
|
|
}
|