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-ecj/SuperBuilderAbstractToBuilder.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/transform/resource/after-ecj/SuperBuilderAbstractToBuilder.java') diff --git a/test/transform/resource/after-ecj/SuperBuilderAbstractToBuilder.java b/test/transform/resource/after-ecj/SuperBuilderAbstractToBuilder.java index 4fa722e5..d1ce4fa9 100644 --- a/test/transform/resource/after-ecj/SuperBuilderAbstractToBuilder.java +++ b/test/transform/resource/after-ecj/SuperBuilderAbstractToBuilder.java @@ -14,6 +14,9 @@ public class SuperBuilderAbstractToBuilder { } protected abstract @java.lang.SuppressWarnings("all") B self(); public abstract @java.lang.SuppressWarnings("all") C build(); + /** + * @return {@code this}. + */ public @java.lang.SuppressWarnings("all") B parentField(final int parentField) { this.parentField = parentField; return self(); @@ -61,6 +64,9 @@ public class SuperBuilderAbstractToBuilder { } protected abstract @java.lang.Override @java.lang.SuppressWarnings("all") B self(); public abstract @java.lang.Override @java.lang.SuppressWarnings("all") C build(); + /** + * @return {@code this}. + */ public @java.lang.SuppressWarnings("all") B childField(final double childField) { this.childField = childField; return self(); @@ -91,6 +97,9 @@ public class SuperBuilderAbstractToBuilder { } protected abstract @java.lang.Override @java.lang.SuppressWarnings("all") B self(); public abstract @java.lang.Override @java.lang.SuppressWarnings("all") C build(); + /** + * @return {@code this}. + */ public @java.lang.SuppressWarnings("all") B grandChildField(final String grandChildField) { this.grandChildField = grandChildField; return self(); -- cgit