Commit Graph
595 Commits
Author SHA1 Message Date
Reinier Zwitserloot 4e40de2f88 Whoops, the junit dependency descriptor was misnamed. 2010-07-20 06:28:40 +02:00
Roel Spilker c5a31a3768 Made more consistent 2010-07-20 02:06:06 +02:00
Roel Spilker 4d2eaa3653 Published the test target 2010-07-20 01:42:23 +02:00
Roel Spilker 0d7df01a07 Updated the tests to reflect recent modifications: use 'this' where possible and add @SuppressWarnings for all generated fields and methods. 2010-07-20 01:35:40 +02:00
Roel Spilker 9b886c140c Changed the order of unpacking libs to be before compiling in the build script, this way having old versions of e.g. lombok.patcher around dont mysteriously break your build until you ant clean. 2010-07-20 00:44:36 +02:00
Reinier Zwitserloot 01ff2a8b79 With the new features, some of the delombok based unit tests no longer work. 2010-07-20 00:39:04 +02:00
Reinier Zwitserloot 78aa370b14 Whoops, 2 dependency descriptors were missing. Added them. 2010-07-20 00:38:38 +02:00
Roel Spilker 45460230a5 Fixed some broken dependency descriptors 2010-07-20 00:34:09 +02:00
Reinier Zwitserloot 5c6fe62a85 Added support for @ConstructorProperties generation for generated constructors.
Also added fix: @Constructor with access level none are now no longer generated.

Implements issue #122
2010-07-19 23:48:12 +02:00
Reinier Zwitserloot 734baebfa9 [TRIVIAL] in case of bugs and we drop to toModifier() for AccessLevel.NONE, we now make a private method/constructor instead of a public one. Still not right, but less wrong than public. 2010-07-19 23:41:44 +02:00
Reinier Zwitserloot 8c3b34e851 Added javadoc to the annotation parameters for the @Constructor annotations,
and also added the suppressConstructorProperties flag.
2010-07-19 23:40:59 +02:00
Reinier Zwitserloot 067ecf7118 Added support for @NoArgsConstructor, @RequiredArgsConstructor and @AllArgsConstructor for eclipse.
Implements issue #79.
2010-07-19 22:10:43 +02:00
Reinier Zwitserloot 29cd0ac3e7 Added support for @AllArgsConstructor, @NoArgsConstructor, and @RequiredArgsConstructor for javac. 2010-07-19 21:18:16 +02:00
Reinier Zwitserloot b47e87f873 Added (and left intentionally undocumented) an option to force the installer to use an absolute path for location of lombok.jar:
java -Dlombok.installer.fullpath -jar lombok.jar

There have been some reports that under helios the relative path no longer cuts it, but all reports come from tweaked installs. In case folks run into this, we can now give them a quick solution.

See: http://groups.google.com/group/project-lombok/browse_thread/thread/2071edd5495a8cd7
2010-07-19 17:24:58 +02:00
Reinier Zwitserloot a5e19958f6 All generated fields and methods now get a @SuppressWarnings("all").
Implements issue #47.
2010-07-18 01:26:02 +02:00
Reinier Zwitserloot a1629c55ac Updated changelog for fixing issue #48 2010-07-18 00:37:34 +02:00
Reinier Zwitserloot 8869e97594 All field accesses done by generated lombok methods are now qualified with 'this.'
Addresses issue #48
2010-07-18 00:34:22 +02:00
Reinier Zwitserloot 51b031c732 In our efforts to eliminate annotations for delombok, we also eliminated all traces of the annotation for lombok itself. This didn't work well with @Data and how it interacts with existing @Getter/@Setter annotations. @Data scans for those annotations to determine that it shouldn't do anything. By deleting them, this process wasn't working anymore. 2010-07-17 06:58:00 +02:00
Reinier Zwitserloot 89586dd793 Bugfix: Annotations on types were being ignored if the type had no members in it, in javac only. 2010-07-17 06:56:37 +02:00
Reinier Zwitserloot 32a23d7786 Implements issue #129: @Getter and @Setter are now legal on entire types. 2010-07-17 06:54:33 +02:00
Reinier Zwitserloot 99f763a729 Updated spelling of LICENCE to LICENSE, and updated copyright notice of help text printed by main executable. 2010-07-17 05:10:43 +02:00
Reinier Zwitserloot 775ab75ee8 Did some maintainance on the changelog. 2010-07-16 05:55:54 +02:00
Reinier Zwitserloot 3b706b09f7 previous update to the code due to changes in lombok.patcher introduced a bug, which was causing the following exception in the eclipse error log:
java.lang.VerifyError: (class: org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder, method: findByBinding signature: (Lorg/eclipse/jdt/core/dom/ASTNode;Lorg/eclipse/jdt/core/dom/IBinding;)[Lorg/eclipse/jdt/core/dom/SimpleName;) Incompatible argument to function
2010-07-16 04:04:38 +02:00
Reinier Zwitserloot 491d6bf7a4 Updated eclipse dependencies to 3.6.0, and added sources. 2010-07-16 04:03:38 +02:00
Reinier Zwitserloot bc8d7d131e Updated to helios. A few new warnings popped up; handled those. 2010-07-16 02:20:17 +02:00
Reinier Zwitserloot d5ba04ca59 Added copying of @CheckForNull from a field to autogenerated getters and setters, just like @Nullable is copied.
Implements feature request issue 128.
2010-07-14 16:01:08 +02:00
Reinier Zwitserloot e693672cd4 Changed build system to ivy. 2010-07-12 23:48:02 +02:00
Reinier Zwitserloot a118bc7924 Merge branch 'master' of git@github.com:rzwitserloot/lombok 2010-04-24 17:47:00 +02:00
Reinier Zwitserloot 27fd5e4776 Keeping pace with changes to lombok.patcher. 2010-04-24 17:42:59 +02:00
Roel Spilker 5f276b6209 Merge branch 'master' of git@github.com:rzwitserloot/lombok 2010-02-14 03:50:39 +01:00
Roel Spilker 2552315058 Added unicode escape writing to avoid pesky encoding issues. 2010-02-14 03:50:19 +01:00
Reinier Zwitserloot 3c75487f71 mavenrepo example now adds scope=provided to reflect that lombok is only a build-time and not a run-time dependency. 2010-02-10 22:06:08 +01:00
Reinier Zwitserloot 06e0ff4ab3 cmdreader no longer needs @Parameterized 2010-02-10 22:04:10 +01:00
Reinier Zwitserloot f4ddece614 Added fix for tools.jar finding to the changelog 2010-01-11 18:28:03 +01:00
Reinier Zwitserloot b0c712833b Made DelombokApp's error message if tools.jar is in fact missing more useful; the advice it gives will now actually work. 2010-01-11 18:24:27 +01:00
Reinier Zwitserloot 77036ce732 Made discovery of tools.jar slightly more robust and got rid of the double error you'd get if it cant be found. 2010-01-11 18:17:35 +01:00
Reinier Zwitserloot 9c07a465c1 NonNull state really ought to be documented, so now it is. 2010-01-08 20:16:24 +01:00
Reinier Zwitserloot 1845525d44 Added link to Michael Kimberlin's article to slideshow page. 2010-01-08 00:02:08 +01:00
Reinier Zwitserloot 63aceae8be Changes 'div class=para' to the simpler and semantically correct 'p'. 2010-01-07 23:59:58 +01:00
Reinier Zwitserloot 70fb2fe83f Adding changelog entry for fixing of issue 96 2010-01-07 23:56:23 +01:00
Reinier Zwitserloot 0072efc4d6 Now also testing value= as well as arrays in annotation params. 2010-01-07 23:52:36 +01:00
Reinier Zwitserloot 3fc7ac6207 Added test to ensure interfaces print correctly (test case because 'public' and 'abstract' are implied). 2010-01-07 23:48:21 +01:00
Reinier Zwitserloot e94bf546f3 Fixing javac's PrettyPrinter's screwup on enum members with bodies or parameters.
Note that JDK7 fixed this themselves though they kept the silly comments.
2010-01-07 23:47:46 +01:00
Reinier Zwitserloot 24be0f86ad Failing tests now do a full print of the actual and expected delombok output. 2010-01-07 22:50:28 +01:00
Reinier Zwitserloot aa2643092d Javac's printer screws up on complex enums. Added tests for this case. 2010-01-07 22:49:51 +01:00
Reinier Zwitserloot 87044b0bc5 Fix for the installer crashing with NPE on line 589. 2009-12-30 03:25:57 +01:00
Reinier Zwitserloot cf11641c8a changelog for fixing issue 72. 2009-12-30 03:24:49 +01:00
Reinier Zwitserloot bed2d10358 Sanity check on running patch scripts for eclipse - if its already been done we do not run them again. 2009-12-30 02:29:37 +01:00
Reinier Zwitserloot 7aa2573079 Added copyright notices. 2009-12-30 02:14:15 +01:00
Reinier Zwitserloot a3494aa608 Command line compiling with ecj at source 1.6 now works! 2009-12-30 02:04:01 +01:00