From 624c8a5a52d14ba1a6b690809f9ada15f71e15f5 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Mon, 21 Dec 2020 17:07:22 +0100 Subject: [fixes #2682] Fix NPE, always add Javadoc return statement --- .../resource/after-delombok/SuperBuilderWithDefaults.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/transform/resource/after-delombok/SuperBuilderWithDefaults.java') diff --git a/test/transform/resource/after-delombok/SuperBuilderWithDefaults.java b/test/transform/resource/after-delombok/SuperBuilderWithDefaults.java index ad56cea2..40f0900b 100644 --- a/test/transform/resource/after-delombok/SuperBuilderWithDefaults.java +++ b/test/transform/resource/after-delombok/SuperBuilderWithDefaults.java @@ -25,12 +25,18 @@ public class SuperBuilderWithDefaults { protected abstract B self(); @java.lang.SuppressWarnings("all") public abstract C build(); + /** + * @return {@code this}. + */ @java.lang.SuppressWarnings("all") public B millis(final long millis) { this.millis$value = millis; millis$set = true; return self(); } + /** + * @return {@code this}. + */ @java.lang.SuppressWarnings("all") public B numberField(final N numberField) { this.numberField$value = numberField; @@ -89,6 +95,9 @@ public class SuperBuilderWithDefaults { @java.lang.Override @java.lang.SuppressWarnings("all") public abstract C build(); + /** + * @return {@code this}. + */ @java.lang.SuppressWarnings("all") public B doubleField(final double doubleField) { this.doubleField$value = doubleField; -- cgit