mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
[fixes #2327] mostly trivial: Added this. for field access and unified code gen of build() methods for @Builder.
This commit is contained in:
63 files changed
+144
-87
No files matched your search
@@ -64,7 +64,7 @@ public @Builder class BuilderWithDeprecated {
|
||||
strings = java.util.Collections.unmodifiableList(new java.util.ArrayList<String>(this.strings));
|
||||
}
|
||||
com.google.common.collect.ImmutableList<Integer> numbers = ((this.numbers == null) ? com.google.common.collect.ImmutableList.<Integer>of() : this.numbers.build());
|
||||
return new BuilderWithDeprecated(dep1, dep2, strings, numbers);
|
||||
return new BuilderWithDeprecated(this.dep1, this.dep2, strings, numbers);
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
return (((((((("BuilderWithDeprecated.BuilderWithDeprecatedBuilder(dep1=" + this.dep1) + ", dep2=") + this.dep2) + ", strings=") + this.strings) + ", numbers=") + this.numbers) + ")");
|
||||
|
||||
Reference in new issue
Block a user