aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/GetterSetterJavadoc.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-06-01 16:39:10 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-06-01 16:39:10 +0200
commited6d1fbb09be8fbda6d80380d4d24eca8d2469e2 (patch)
tree2f6495d724e2b34d9e2b87db79dd042c0010655e /test/transform/resource/before/GetterSetterJavadoc.java
parenta7e3d5070eb0116e5b80e4f8a96d176a2127fc19 (diff)
downloadlombok-ed6d1fbb09be8fbda6d80380d4d24eca8d2469e2.tar.gz
lombok-ed6d1fbb09be8fbda6d80380d4d24eca8d2469e2.tar.bz2
lombok-ed6d1fbb09be8fbda6d80380d4d24eca8d2469e2.zip
When generating javadoc for setters, a @return this is added if needed.
Diffstat (limited to 'test/transform/resource/before/GetterSetterJavadoc.java')
-rw-r--r--test/transform/resource/before/GetterSetterJavadoc.java27
1 files changed, 27 insertions, 0 deletions
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;
+}