diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-07 22:31:43 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-07 22:31:43 +0100 |
commit | 3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c (patch) | |
tree | 4c06e0d16ba4d5e0fc2133b6bc9ed5dca8a63e49 /test/transform/resource/after-ecj/BuilderWithToBuilder.java | |
parent | 889c935ec9f0e45bba1e88b0f256e1f29a734f39 (diff) | |
download | lombok-3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c.tar.gz lombok-3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c.tar.bz2 lombok-3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c.zip |
[fixes #2327] mostly trivial: Added this. for field access and unified code gen of build() methods for `@Builder`.
Diffstat (limited to 'test/transform/resource/after-ecj/BuilderWithToBuilder.java')
-rw-r--r-- | test/transform/resource/after-ecj/BuilderWithToBuilder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-ecj/BuilderWithToBuilder.java b/test/transform/resource/after-ecj/BuilderWithToBuilder.java index 83938adb..131b0ca0 100644 --- a/test/transform/resource/after-ecj/BuilderWithToBuilder.java +++ b/test/transform/resource/after-ecj/BuilderWithToBuilder.java @@ -50,7 +50,7 @@ import lombok.Builder; default : bars = java.util.Collections.unmodifiableList(new java.util.ArrayList<T>(this.bars)); } - return new BuilderWithToBuilder<T>(one, two, foo, bars); + return new BuilderWithToBuilder<T>(this.one, this.two, this.foo, bars); } public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((((((("BuilderWithToBuilder.BuilderWithToBuilderBuilder(one=" + this.one) + ", two=") + this.two) + ", foo=") + this.foo) + ", bars=") + this.bars) + ")"); @@ -101,7 +101,7 @@ import lombok.Builder; return this; } public @java.lang.SuppressWarnings("all") ConstructorWithToBuilder<T> build() { - return new ConstructorWithToBuilder<T>(mOne, baz, bars); + return new ConstructorWithToBuilder<T>(this.mOne, this.baz, this.bars); } public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((((("ConstructorWithToBuilder.ConstructorWithToBuilderBuilder(mOne=" + this.mOne) + ", baz=") + this.baz) + ", bars=") + this.bars) + ")"); |