Files
lombok/test/transform/resource/after-delombok/SetterOnMethodOnParam.java
T
Reinier Zwitserloot aafd83079a 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.
2013-02-11 22:34:48 +01:00

25 lines
428 B
Java

class SetterOnMethodOnParam {
int i;
int j;
int k;
public @interface Test {
}
@Deprecated
@java.lang.SuppressWarnings("all")
public void setI(final int i) {
this.i = i;
}
@java.lang.Deprecated
@Test
@java.lang.SuppressWarnings("all")
public void setJ(@Test final int j) {
this.j = j;
}
@java.lang.Deprecated
@Test
@java.lang.SuppressWarnings("all")
public void setK(@Test final int k) {
this.k = k;
}
}