mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 08:15:48 +00:00
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:
1 parent
ef8769d318
commit
aafd83079a
90 files changed
+1152
-366
No files matched your search
@@ -0,0 +1,39 @@
|
||||
class GetterOnMethodErrors2 {
|
||||
public @interface Test {
|
||||
}
|
||||
private @lombok.Getter() int bad1;
|
||||
private @lombok.Getter() int bad2;
|
||||
private @lombok.Getter() int bad3;
|
||||
private @lombok.Getter() int bad4;
|
||||
private @lombok.Getter() int good1;
|
||||
private @lombok.Getter() int good2;
|
||||
private @lombok.Getter() int good3;
|
||||
private @lombok.Getter() int good4;
|
||||
GetterOnMethodErrors2() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") int getBad1() {
|
||||
return this.bad1;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") int getBad2() {
|
||||
return this.bad2;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") int getBad3() {
|
||||
return this.bad3;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") int getBad4() {
|
||||
return this.bad4;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") int getGood1() {
|
||||
return this.good1;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") int getGood2() {
|
||||
return this.good2;
|
||||
}
|
||||
public @Deprecated @java.lang.SuppressWarnings("all") int getGood3() {
|
||||
return this.good3;
|
||||
}
|
||||
public @Deprecated @Test @java.lang.SuppressWarnings("all") int getGood4() {
|
||||
return this.good4;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user