From ed6d1fbb09be8fbda6d80380d4d24eca8d2469e2 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 1 Jun 2015 16:39:10 +0200 Subject: When generating javadoc for setters, a @return this is added if needed. --- .../resource/before/GetterSetterJavadoc.java | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'test/transform/resource/before/GetterSetterJavadoc.java') diff --git a/test/transform/resource/before/GetterSetterJavadoc.java b/test/transform/resource/before/GetterSetterJavadoc.java index 0dc64092..2ad46f8d 100644 --- a/test/transform/resource/before/GetterSetterJavadoc.java +++ b/test/transform/resource/before/GetterSetterJavadoc.java @@ -35,3 +35,30 @@ class GetterSetterJavadoc3 { */ @lombok.Getter @lombok.Setter private int fieldName; } + +@lombok.experimental.Accessors(chain = true, fluent = true) +class GetterSetterJavadoc4 { + /** + * Some text + * + * @param fieldName Hello, World4 + * @return Sky is blue4 + */ + @lombok.Getter @lombok.Setter private int fieldName; +} + +@lombok.experimental.Accessors(chain = true, fluent = true) +class GetterSetterJavadoc5 { + /** + * Some text + * + * **SETTER** + * Setter section + * @param fieldName Hello, World5 + * @return Sky is blue5 + * **GETTER** + * Getter section + * @return Sky is blue5 + */ + @lombok.Getter @lombok.Setter private int fieldName; +} -- cgit