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 --- test/transform/resource/after-delombok/Accessors.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/transform/resource/after-delombok/Accessors.java') diff --git a/test/transform/resource/after-delombok/Accessors.java b/test/transform/resource/after-delombok/Accessors.java index 2773a17b..0e148b88 100644 --- a/test/transform/resource/after-delombok/Accessors.java +++ b/test/transform/resource/after-delombok/Accessors.java @@ -4,6 +4,9 @@ class AccessorsFluent { public String fieldName() { return this.fieldName; } + /** + * @return {@code this}. + */ @java.lang.SuppressWarnings("all") public AccessorsFluent fieldName(final String fieldName) { this.fieldName = fieldName; @@ -21,6 +24,9 @@ class AccessorsFluentOnClass { public String getOtherFieldWithOverride() { return this.otherFieldWithOverride; } + /** + * @return {@code this}. + */ @java.lang.SuppressWarnings("all") public AccessorsFluentOnClass fieldName(final String fieldName) { this.fieldName = fieldName; @@ -29,6 +35,9 @@ class AccessorsFluentOnClass { } class AccessorsChain { private boolean isRunning; + /** + * @return {@code this}. + */ @java.lang.SuppressWarnings("all") public AccessorsChain setRunning(final boolean isRunning) { this.isRunning = isRunning; @@ -93,6 +102,9 @@ class AccessorsPrefix3 { } class AccessorsFluentGenerics { private String name; + /** + * @return {@code this}. + */ @java.lang.SuppressWarnings("all") public AccessorsFluentGenerics name(final String name) { this.name = name; -- cgit