diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2020-12-22 16:45:05 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2021-01-14 23:54:48 +0100 |
commit | 2e5ea518cc4041f2ef79d5d9cc0f970d805b6e64 (patch) | |
tree | d46395a1cf4be1c1fe8141bcee10e91d11586d82 /test/transform/resource/after-ecj | |
parent | b8d49a884ed545176bb491b10b59dde9f481ea95 (diff) | |
download | lombok-2e5ea518cc4041f2ef79d5d9cc0f970d805b6e64.tar.gz lombok-2e5ea518cc4041f2ef79d5d9cc0f970d805b6e64.tar.bz2 lombok-2e5ea518cc4041f2ef79d5d9cc0f970d805b6e64.zip |
[fixes #2443] Remove multiline Javadoc tags
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/BuilderJavadoc.java | 1 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/JavadocMultiline.java | 40 |
2 files changed, 40 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/BuilderJavadoc.java b/test/transform/resource/after-ecj/BuilderJavadoc.java index 3afd3be2..f5790ee7 100644 --- a/test/transform/resource/after-ecj/BuilderJavadoc.java +++ b/test/transform/resource/after-ecj/BuilderJavadoc.java @@ -58,7 +58,6 @@ import java.util.List; } /** * getsetwith gets a builder setter, an instance getter and setter, and a wither. - * * @return tag is moved to the getter. */ public @java.lang.SuppressWarnings("all") int getGetsetwith() { diff --git a/test/transform/resource/after-ecj/JavadocMultiline.java b/test/transform/resource/after-ecj/JavadocMultiline.java new file mode 100644 index 00000000..bf058975 --- /dev/null +++ b/test/transform/resource/after-ecj/JavadocMultiline.java @@ -0,0 +1,40 @@ +@lombok.Getter @lombok.Setter class JavadocMultiline { + private java.util.List<Boolean> booleans; + private java.util.List<Boolean> booleans2; + JavadocMultiline() { + super(); + } + /** + * This is a list of booleans. + * + * @return A list of booleans to set for this object. This is a Javadoc return that is long + * enough to wrap to multiple lines. + */ + public @java.lang.SuppressWarnings("all") java.util.List<Boolean> getBooleans() { + return this.booleans; + } + /** + * This is a list of booleans. + */ + public @java.lang.SuppressWarnings("all") java.util.List<Boolean> getBooleans2() { + return this.booleans2; + } + /** + * This is a list of booleans. + * + * @param booleans A list of booleans to set for this object. This is a Javadoc param that is + * long enough to wrap to multiple lines. + */ + public @java.lang.SuppressWarnings("all") void setBooleans(final java.util.List<Boolean> booleans) { + this.booleans = booleans; + } + /** + * This is a list of booleans. + * + * @param booleans A list of booleans to set for this object. This is a Javadoc param that is + * long enough to wrap to multiple lines. + */ + public @java.lang.SuppressWarnings("all") void setBooleans2(final java.util.List<Boolean> booleans2) { + this.booleans2 = booleans2; + } +} |