mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +00:00
When generating javadoc for setters, a @return this is added if needed.
This commit is contained in:
1 parent
a7e3d5070e
commit
ed6d1fbb09
4 files changed
+126
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user