mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 14:16:39 +00:00
Remove irrelevant details from BuilderJavadoc test case
This commit is contained in:
1 parent
171cbc3b1c
commit
6dfbbe68b4
3 files changed
+25
-63
No files matched your search
@@ -1,11 +1,10 @@
|
||||
import java.util.List;
|
||||
@lombok.Builder class BuilderJavadoc<T> {
|
||||
public static class BuilderJavadocBuilder<T> {
|
||||
private @java.lang.SuppressWarnings("all") int yes;
|
||||
private @java.lang.SuppressWarnings("all") int basic;
|
||||
private @java.lang.SuppressWarnings("all") int getsetwith;
|
||||
private @java.lang.SuppressWarnings("all") int predef;
|
||||
private @java.lang.SuppressWarnings("all") int predefWithJavadoc;
|
||||
private @java.lang.SuppressWarnings("all") List<T> also;
|
||||
public BuilderJavadocBuilder<T> predef(final int x) {
|
||||
this.predef = (x * 10);
|
||||
return this;
|
||||
@@ -17,39 +16,31 @@ import java.util.List;
|
||||
@java.lang.SuppressWarnings("all") BuilderJavadocBuilder() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderJavadocBuilder<T> yes(final int yes) {
|
||||
this.yes = yes;
|
||||
public @java.lang.SuppressWarnings("all") BuilderJavadocBuilder<T> basic(final int basic) {
|
||||
this.basic = basic;
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderJavadocBuilder<T> getsetwith(final int getsetwith) {
|
||||
this.getsetwith = getsetwith;
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderJavadocBuilder<T> also(final List<T> also) {
|
||||
this.also = also;
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderJavadoc<T> build() {
|
||||
return new BuilderJavadoc<T>(yes, getsetwith, predef, predefWithJavadoc, also);
|
||||
return new BuilderJavadoc<T>(basic, getsetwith, predef, predefWithJavadoc);
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
return (((((((((("BuilderJavadoc.BuilderJavadocBuilder(yes=" + this.yes) + ", getsetwith=") + this.getsetwith) + ", predef=") + this.predef) + ", predefWithJavadoc=") + this.predefWithJavadoc) + ", also=") + this.also) + ")");
|
||||
return (((((((("BuilderJavadoc.BuilderJavadocBuilder(basic=" + this.basic) + ", getsetwith=") + this.getsetwith) + ", predef=") + this.predef) + ", predefWithJavadoc=") + this.predefWithJavadoc) + ")");
|
||||
}
|
||||
}
|
||||
private final int noshow = 0;
|
||||
private final int yes;
|
||||
private final int basic;
|
||||
private @lombok.Getter @lombok.Setter @lombok.experimental.Wither int getsetwith;
|
||||
private final int predef;
|
||||
private final int predefWithJavadoc;
|
||||
private List<T> also;
|
||||
private int $butNotMe;
|
||||
@java.lang.SuppressWarnings("all") BuilderJavadoc(final int yes, final int getsetwith, final int predef, final int predefWithJavadoc, final List<T> also) {
|
||||
@java.lang.SuppressWarnings("all") BuilderJavadoc(final int basic, final int getsetwith, final int predef, final int predefWithJavadoc) {
|
||||
super();
|
||||
this.yes = yes;
|
||||
this.basic = basic;
|
||||
this.getsetwith = getsetwith;
|
||||
this.predef = predef;
|
||||
this.predefWithJavadoc = predefWithJavadoc;
|
||||
this.also = also;
|
||||
}
|
||||
public static @java.lang.SuppressWarnings("all") <T>BuilderJavadocBuilder<T> builder() {
|
||||
return new BuilderJavadocBuilder<T>();
|
||||
@@ -61,6 +52,6 @@ import java.util.List;
|
||||
this.getsetwith = getsetwith;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderJavadoc<T> withGetsetwith(final int getsetwith) {
|
||||
return ((this.getsetwith == getsetwith) ? this : new BuilderJavadoc<T>(this.yes, getsetwith, this.predef, this.predefWithJavadoc, this.also));
|
||||
return ((this.getsetwith == getsetwith) ? this : new BuilderJavadoc<T>(this.basic, getsetwith, this.predef, this.predefWithJavadoc));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user