mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
added tests for new javadoc behaviour, javac implementation of copying javadoc for getters/setters, and fixed pretty printer to no longer inject an extra newline at the top of javadoc.
This commit is contained in:
1 parent
0d5fea94da
commit
867929c79f
11 files changed
+219
-6
No files matched your search
@@ -0,0 +1,37 @@
|
||||
@lombok.Data
|
||||
class GetterSetterJavadoc1 {
|
||||
/**
|
||||
* Some text
|
||||
*
|
||||
* @param fieldName Hello, World
|
||||
* --- GETTER ---
|
||||
* Getter section
|
||||
*
|
||||
* @return Sky is blue
|
||||
*/
|
||||
private int fieldName;
|
||||
}
|
||||
|
||||
class GetterSetterJavadoc2 {
|
||||
/**
|
||||
* Some text
|
||||
*
|
||||
* @param fieldName Hello, World
|
||||
* @return Sky is blue
|
||||
*/
|
||||
@lombok.Getter @lombok.Setter private int fieldName;
|
||||
}
|
||||
|
||||
class GetterSetterJavadoc3 {
|
||||
/**
|
||||
* Some text
|
||||
*
|
||||
* **SETTER**
|
||||
* Setter section
|
||||
* @param fieldName Hello, World
|
||||
* **GETTER**
|
||||
* Getter section
|
||||
* @return Sky is blue
|
||||
*/
|
||||
@lombok.Getter @lombok.Setter private int fieldName;
|
||||
}
|
||||
Reference in new issue
Block a user