diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-07 23:29:04 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-07 23:29:04 +0100 |
commit | 0b0656ae3c38ae915c86e17c2744d5e3d8fc805c (patch) | |
tree | ed5c36347cacd88e86d29748629a6d72dad79e36 /test | |
parent | 3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c (diff) | |
download | lombok-0b0656ae3c38ae915c86e17c2744d5e3d8fc805c.tar.gz lombok-0b0656ae3c38ae915c86e17c2744d5e3d8fc805c.tar.bz2 lombok-0b0656ae3c38ae915c86e17c2744d5e3d8fc805c.zip |
[fixes #2323] javadoc `@return` generation updated.
Diffstat (limited to 'test')
5 files changed, 8 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/BuilderJavadoc.java b/test/transform/resource/after-delombok/BuilderJavadoc.java index e64bed5f..c99bfe90 100644 --- a/test/transform/resource/after-delombok/BuilderJavadoc.java +++ b/test/transform/resource/after-delombok/BuilderJavadoc.java @@ -52,6 +52,7 @@ class BuilderJavadoc<T> { * basic gets only a builder setter. * @see #getsetwith * @param tag is moved to the setter. + * @return {@code this}. */ @java.lang.SuppressWarnings("all") public BuilderJavadoc.BuilderJavadocBuilder<T> basic(final int basic) { @@ -61,6 +62,7 @@ class BuilderJavadoc<T> { /** * getsetwith gets a builder setter, an instance getter and setter, and a wither. * @param tag is moved to the setters and wither. + * @return {@code this}. */ @java.lang.SuppressWarnings("all") public BuilderJavadoc.BuilderJavadocBuilder<T> getsetwith(final int getsetwith) { @@ -108,6 +110,7 @@ class BuilderJavadoc<T> { /** * getsetwith gets a builder setter, an instance getter and setter, and a wither. * @param tag is moved to the setters and wither. + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). */ @java.lang.SuppressWarnings("all") public BuilderJavadoc<T> withGetsetwith(final int getsetwith) { diff --git a/test/transform/resource/after-delombok/BuilderWithDeprecated.java b/test/transform/resource/after-delombok/BuilderWithDeprecated.java index d61619ed..65f8e4e7 100644 --- a/test/transform/resource/after-delombok/BuilderWithDeprecated.java +++ b/test/transform/resource/after-delombok/BuilderWithDeprecated.java @@ -32,6 +32,7 @@ public class BuilderWithDeprecated { } /** * @deprecated since always + * @return {@code this}. */ @java.lang.Deprecated @java.lang.SuppressWarnings("all") diff --git a/test/transform/resource/after-delombok/GetterSetterJavadoc.java b/test/transform/resource/after-delombok/GetterSetterJavadoc.java index 019b3c37..ae662da7 100644 --- a/test/transform/resource/after-delombok/GetterSetterJavadoc.java +++ b/test/transform/resource/after-delombok/GetterSetterJavadoc.java @@ -116,7 +116,7 @@ class GetterSetterJavadoc4 { * Some text * * @param fieldName Hello, World5 - * @return this + * @return {@code this}. */ @java.lang.SuppressWarnings("all") public GetterSetterJavadoc4 fieldName(final int fieldName) { diff --git a/test/transform/resource/after-delombok/SetterAndWithMethodJavadoc.java b/test/transform/resource/after-delombok/SetterAndWithMethodJavadoc.java index 97524b9d..7831e42c 100644 --- a/test/transform/resource/after-delombok/SetterAndWithMethodJavadoc.java +++ b/test/transform/resource/after-delombok/SetterAndWithMethodJavadoc.java @@ -22,6 +22,7 @@ class SetterAndWithMethodJavadoc { /** * Some value. * @param the new value + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). */ @java.lang.SuppressWarnings("all") public SetterAndWithMethodJavadoc withI(final int i) { @@ -38,6 +39,7 @@ class SetterAndWithMethodJavadoc { /** * Reinstantiate with some other value. * @param the other new other value + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). */ @java.lang.SuppressWarnings("all") public SetterAndWithMethodJavadoc withJ(final int j) { diff --git a/test/transform/resource/after-delombok/WithMethodMarkedDeprecated.java b/test/transform/resource/after-delombok/WithMethodMarkedDeprecated.java index 03b96d33..d81e76ed 100644 --- a/test/transform/resource/after-delombok/WithMethodMarkedDeprecated.java +++ b/test/transform/resource/after-delombok/WithMethodMarkedDeprecated.java @@ -14,6 +14,7 @@ class WithMethodMarkedDeprecated { } /** * @deprecated + * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed). */ @java.lang.Deprecated @java.lang.SuppressWarnings("all") |