aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ConstructorsWithBuilderDefaults.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/ConstructorsWithBuilderDefaults.java')
-rw-r--r--test/transform/resource/after-ecj/ConstructorsWithBuilderDefaults.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/ConstructorsWithBuilderDefaults.java b/test/transform/resource/after-ecj/ConstructorsWithBuilderDefaults.java
index 94d06d93..ba4ee605 100644
--- a/test/transform/resource/after-ecj/ConstructorsWithBuilderDefaults.java
+++ b/test/transform/resource/after-ecj/ConstructorsWithBuilderDefaults.java
@@ -20,7 +20,10 @@ final @NoArgsConstructor(force = true) @AllArgsConstructor @Builder @Value class
return this;
}
public @java.lang.SuppressWarnings("all") ConstructorsWithBuilderDefaults build() {
- return new ConstructorsWithBuilderDefaults((x$set ? x$value : ConstructorsWithBuilderDefaults.$default$x()), y);
+ int x$value = this.x$value;
+ if ((! this.x$set))
+ x$value = ConstructorsWithBuilderDefaults.$default$x();
+ return new ConstructorsWithBuilderDefaults(x$value, this.y);
}
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
return (((("ConstructorsWithBuilderDefaults.ConstructorsWithBuilderDefaultsBuilder(x$value=" + this.x$value) + ", y=") + this.y) + ")");