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:
Reinier Zwitserloot committed 2013-07-08 21:20:24 +02:00
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;
}