diff options
Diffstat (limited to 'test/transform/resource/after-delombok/BuilderDefaults.java')
-rw-r--r-- | test/transform/resource/after-delombok/BuilderDefaults.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/BuilderDefaults.java b/test/transform/resource/after-delombok/BuilderDefaults.java index 02fb9727..b916b725 100644 --- a/test/transform/resource/after-delombok/BuilderDefaults.java +++ b/test/transform/resource/after-delombok/BuilderDefaults.java @@ -50,7 +50,11 @@ public final class BuilderDefaults { } @java.lang.SuppressWarnings("all") public BuilderDefaults build() { - return new BuilderDefaults(x$set ? x : BuilderDefaults.$default$x(), name, z$set ? z : BuilderDefaults.$default$z()); + int x = this.x; + if (!x$set) x = BuilderDefaults.$default$x(); + long z = this.z; + if (!z$set) z = BuilderDefaults.$default$z(); + return new BuilderDefaults(x, name, z); } @java.lang.Override @java.lang.SuppressWarnings("all") |