BIG commit:

* re-introduction of onMethod/onConstructor/onParam
 * tests checking error/warnings rewritten to be more heuristic, in order to accomodate difference in messaging between java6 and java 7
 * Ability to eliminate java's own output of erroneous error messages (heh); i.e. those messages that are invalidated by lombok's actions. This mechanism is used for onMethod/onConstructor/onParam
 * First steps to unifying a billion setGeneratedBy calls into a single visitor traversal for eclipse' HandleGetter/Setter/Constructor/Wither
 * To simplify 'zooming in' the tests on just a few files, added an 'accept' mechanism.
 * Updated copyright headers of website to 2013.
This commit is contained in:
Reinier Zwitserloot
2013-02-11 22:34:48 +01:00
parent ef8769d318
commit aafd83079a
90 changed files with 1152 additions and 366 deletions
@@ -0,0 +1,12 @@
class GetterOnMethodErrors2 {
@lombok.Getter(onMethod=@_A_(@Deprecated)) private int bad1;
@lombok.Getter(onMethod=@_(5)) private int bad2;
@lombok.Getter(onMethod=@_({@Deprecated, 5})) private int bad3;
@lombok.Getter(onMethod=@_(bar=@Deprecated)) private int bad4;
@lombok.Getter(onMethod=@_) private int good1;
@lombok.Getter(onMethod=@_()) private int good2;
@lombok.Getter(onMethod=@_(value=@Deprecated)) private int good3;
@lombok.Getter(onMethod=@_(value={@Deprecated, @Test})) private int good4;
public @interface Test {
}
}