From aafd83079a3000d3deb6e40a182849da2509fbfb Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 11 Feb 2013 22:34:48 +0100 Subject: 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. --- .../transform/resource/after-ecj/GetterOnMethodErrors.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/transform/resource/after-ecj/GetterOnMethodErrors.java (limited to 'test/transform/resource/after-ecj/GetterOnMethodErrors.java') diff --git a/test/transform/resource/after-ecj/GetterOnMethodErrors.java b/test/transform/resource/after-ecj/GetterOnMethodErrors.java new file mode 100644 index 00000000..16c625b5 --- /dev/null +++ b/test/transform/resource/after-ecj/GetterOnMethodErrors.java @@ -0,0 +1,14 @@ +class PlaceFillerToMakeSurePositionIsRelevant { + PlaceFillerToMakeSurePositionIsRelevant() { + super(); + } +} +@lombok.Getter() class GetterOnMethodErrors { + private int test; + GetterOnMethodErrors() { + super(); + } + public @java.lang.SuppressWarnings("all") int getTest() { + return this.test; + } +} \ No newline at end of file -- cgit