mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-19 14:16:07 +00:00
updates tests to reflect that fields in builders now get gen/suppress annotations.
This commit is contained in:
1 parent
207606d1b8
commit
32edc18b0e
24 files changed
+119
-61
No files matched your search
@@ -14,57 +14,51 @@ class BuilderWithAccessors {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public static class BuilderWithAccessorsBuilder {
|
||||
private int plower;
|
||||
private int upper;
|
||||
private int foo;
|
||||
private int _bar;
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
|
||||
@javax.annotation.Generated("lombok")
|
||||
private int plower;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
private int upper;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
private int foo;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
private int _bar;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
BuilderWithAccessorsBuilder() {
|
||||
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
|
||||
@javax.annotation.Generated("lombok")
|
||||
public BuilderWithAccessorsBuilder plower(final int plower) {
|
||||
this.plower = plower;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
|
||||
@javax.annotation.Generated("lombok")
|
||||
public BuilderWithAccessorsBuilder upper(final int upper) {
|
||||
this.upper = upper;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
|
||||
@javax.annotation.Generated("lombok")
|
||||
public BuilderWithAccessorsBuilder foo(final int foo) {
|
||||
this.foo = foo;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
|
||||
@javax.annotation.Generated("lombok")
|
||||
public BuilderWithAccessorsBuilder _bar(final int _bar) {
|
||||
this._bar = _bar;
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
|
||||
@javax.annotation.Generated("lombok")
|
||||
public BuilderWithAccessors build() {
|
||||
return new BuilderWithAccessors(plower, upper, foo, _bar);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
@@ -72,9 +66,7 @@ class BuilderWithAccessors {
|
||||
return "BuilderWithAccessors.BuilderWithAccessorsBuilder(plower=" + this.plower + ", upper=" + this.upper + ", foo=" + this.foo + ", _bar=" + this._bar + ")";
|
||||
}
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
|
||||
@javax.annotation.Generated("lombok")
|
||||
public static BuilderWithAccessorsBuilder builder() {
|
||||
return new BuilderWithAccessorsBuilder();
|
||||
|
||||
Reference in new issue
Block a user