[fixes #2327] mostly trivial: Added this. for field access and unified code gen of build() methods for @Builder.

This commit is contained in:
Reinier Zwitserloot committed 2020-01-07 22:31:43 +01:00
1 parent 889c935ec9
commit 3f620e3b84
63 files changed
+144 -87

No files matched your search

@@ -54,10 +54,10 @@ final class ConstructorsWithBuilderDefaults<T> {
@java.lang.SuppressWarnings("all")
public ConstructorsWithBuilderDefaults<T> build() {
java.util.List<T> z$value = this.z$value;
if (!z$set) z$value = ConstructorsWithBuilderDefaults.<T>$default$z();
if (!this.z$set) z$value = ConstructorsWithBuilderDefaults.<T>$default$z();
T x$value = this.x$value;
if (!x$set) x$value = ConstructorsWithBuilderDefaults.<T>$default$x();
return new ConstructorsWithBuilderDefaults<T>(z$value, x$value, q);
if (!this.x$set) x$value = ConstructorsWithBuilderDefaults.<T>$default$x();
return new ConstructorsWithBuilderDefaults<T>(z$value, x$value, this.q);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")