[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

@@ -53,7 +53,10 @@ import lombok.Singular;
default :
names = java.util.Collections.unmodifiableList(new java.util.ArrayList<String>(this.names));
}
return new CheckerFrameworkBuilder((x$set ? x$value : CheckerFrameworkBuilder.$default$x()), y, z, names);
int x$value = this.x$value;
if ((! this.x$set))
x$value = CheckerFrameworkBuilder.$default$x();
return new CheckerFrameworkBuilder(x$value, this.y, this.z, names);
}
public @java.lang.Override @org.checkerframework.dataflow.qual.SideEffectFree @java.lang.SuppressWarnings("all") java.lang.String toString() {
return (((((((("CheckerFrameworkBuilder.CheckerFrameworkBuilderBuilder(x$value=" + this.x$value) + ", y=") + this.y) + ", z=") + this.z) + ", names=") + this.names) + ")");