mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-14 18:20:49 +00:00
Specifically, Rawi01's patches to make javadoc behaviour in eclipse better, which cannot be applied to ecj as you get load errors (javadoc not a thing there). As part of this commit, tests can be limited to ecj or eclipse, and I made cut-down versions of a few tests (to run on ecj, as the main one cannot be, due to javadoc issues). The tests now marked as eclipse only don't fail on ecj, but they don't generate the same result. Alternatively, we could go with a separated out after-ecj and after-eclipse dir instead, but that's perhaps going overboard.
28 lines
522 B
Java
28 lines
522 B
Java
//platform !ecj: Javadoc copying not supported on ecj
|
|
import lombok.With;
|
|
class SetterAndWithMethodJavadoc {
|
|
/**
|
|
* Some value.
|
|
* @param the new value
|
|
*/
|
|
@lombok.Setter @lombok.With int i;
|
|
|
|
/**
|
|
* Some other value.
|
|
*
|
|
* --- SETTER ---
|
|
* Set some other value.
|
|
* @param the new other value
|
|
*
|
|
* --- WITH ---
|
|
* Reinstantiate with some other value.
|
|
* @param the other new other value
|
|
*/
|
|
@lombok.Setter @lombok.With int j;
|
|
|
|
SetterAndWithMethodJavadoc(int i, int j) {
|
|
this.i = i;
|
|
this.j = j;
|
|
}
|
|
}
|