Commit Graph
983 Commits
Author SHA1 Message Date
Roel Spilker 70f778daa5 Fixed delombok making a mess of comments (issue 284) for javac 6. delombok in java7 is now completely broken but we'll fix that next. 2011-10-31 23:19:25 +01:00
Roel Spilker ed177bb782 Add src/utils to the source paths 2011-10-31 19:20:49 +01:00
Reinier Zwitserloot 16661be2d9 Fixed issue 289: non-static inner classes whose outer class has generics can't be @EqualsAndHashCode marked. 2011-10-25 19:39:08 +02:00
Reinier Zwitserloot 7f7d1eed36 Updated changelog with fix for 287 2011-10-25 15:04:08 +02:00
Reinier Zwitserloot 782daa4997 Again made @NotNull have no special meaning.
See issues 43, 271, and 287.
2011-10-25 15:01:28 +02:00
Reinier Zwitserloot c402dd8637 pretty big refactor; introduced a new source package which should be (and is) separately compilable, i.e. has no deps on any of the others.
This is preparation work for being able to access some of these from lombok.ast without creating a cyclic dependency nightmare.
2011-10-24 22:02:14 +02:00
Reinier Zwitserloot 335d6e64c6 Added missing copyright header and bumped version number to xHEAD. 2011-10-10 22:35:57 +02:00
peichhorn 2d39470469 [Issue 281] added test 2011-10-07 21:40:33 +02:00
Sander Koning 64ff254b65 Accept JCCatch as 'statement' (issue #281) 2011-10-07 21:32:48 +02:00
Reinier Zwitserloot fc72a48f17 Preparing for release 0.10.1. Tiny one, but solves enough crucial bugs to warrant a new version. 2011-10-03 19:11:43 +02:00
peichhorn 8b283e89e9 [issue #278]: Assigned final fields and @AllArgsConstructor
In eclipse assigned final fields broke the @AllArgsConstructor. Now they are just skipped as intended.
2011-09-30 10:32:36 +02:00
Philipp Eichhorn 40fe250627 Merge pull request #7 from askoning/master
Request to be allowed to contribute. :)
2011-09-21 16:19:51 -07:00
Sander Koning 3c4ca6ea08 Added my name to the contributors list 2011-09-22 00:59:25 +02:00
Reinier Zwitserloot e4bff6b45e Fixed issue #269: annotations on enum values weren't being printed by delombok.
(Due to yet another bug in javac's pretty printer...)
2011-09-20 21:04:12 +02:00
Reinier Zwitserloot edffb00cfd preparing for an edge release, and updated changelog. 2011-09-20 20:49:51 +02:00
Reinier Zwitserloot 41abd976af Fix for issue #264: use of @Delegate would cause memory leaks in eclipse. 2011-09-20 20:43:40 +02:00
Reinier Zwitserloot f37e2fd760 Slightly improved error reporting if the PatchValEclipsePortal fails to work. 2011-09-20 20:28:41 +02:00
Michail Plushnikov e72b2b2d79 toString() of various delegates to interop with javac (FileObjectWrapper and InterceptingJavaFileObject) now also delegated. Relevant for IntelliJ support. 2011-09-20 20:11:20 +02:00
Reinier Zwitserloot aa87f4926e Tiny update to the website download page. 2011-09-14 09:11:20 +02:00
peichhorn 236c88fc5c fixed Issue 271: @NotNull annotations should introduce a null check 2011-09-05 21:53:58 +02:00
peichhorn 25fbdf0c5b added my name to the CONTRIBUTORS file 2011-08-31 23:50:42 +02:00
Stephen Haberman f8bdfb10fc Fix GWT instructions. 2011-08-31 23:37:44 +02:00
Robbert Jan Grootjans 8334916db8 Added my name to the contributors list 2011-08-31 15:05:23 +02:00
Reinier Zwitserloot e6b6626ded trivial 2011-08-29 20:40:14 +02:00
Reinier Zwitserloot a4519b6629 Added my name to the contributors file. 2011-08-29 19:34:10 +02:00
peichhorn 809cb8d84d whoops javac.jar got renamed to javac6.jar 2011-08-24 11:02:19 +02:00
peichhorn c22e5902e5 To run the tests, having javac in the bootclasspath is required on all platforms. 2011-08-24 10:53:15 +02:00
Reinier Zwitserloot 006a0e7089 Fixed buildscript (onX is gone, that had to be reflected in the buildscript). 2011-08-19 04:10:32 +02:00
Reinier Zwitserloot c3fa3565d5 Preparing for release of 0.10.0-final; updated version and cleaned up changelog. 2011-08-19 04:08:01 +02:00
Roel Spilker b94911431f Make Extract Method work without affecting the rendering of the java file. 2011-08-17 00:26:56 +02:00
Roel Spilker 14efdb09ad Improve Extract method refactoring: you can extract method for code that also contains @SneakyThrows 2011-08-16 02:46:22 +02:00
Roel Spilker 85c90ca606 Removed some leftovers from #164 debugging sessions 2011-08-16 02:04:59 +02:00
Roel Spilker 19e6b00885 Trivial 2011-08-16 01:38:37 +02:00
Reinier Zwitserloot e89f1bd33b Merge branch 'master' of github.com:rzwitserloot/lombok 2011-08-16 01:24:27 +02:00
Reinier Zwitserloot 39d447d6ff This fixes 'val' not working in javac7. The LogDisabler used to simply suppress writes to standard out, but javac7 has a redesigned error system where errors are cached. Now the LogDisabler also wipes out any cached errors added in between a 'disable' and 'enable' session. Ironically we actually whined to Joe Darcy about javac6 emitting errors 'too early' and this caching system is the result. Heh.
This was already the case, but a disableLoggers() call HAS to be paired with an enableLoggers() call, so use try/finally.

Fixes issue #259.
2011-08-16 01:24:11 +02:00
Roel Spilker 844b36b47c Renamed Javac.getCTCint to getCtcInt
Made delombok work with multiple JavaCompiler's on the classpath
Made @Getter(lazy=true) work on javac7 (fixes issue#223)
2011-08-16 00:18:32 +02:00
Roel Spilker b64016cd90 Fixed typo 2011-08-15 22:53:32 +02:00
Reinier Zwitserloot af9ac60c6f Merge branch 'delombok_java7' 2011-08-15 22:47:10 +02:00
Reinier Zwitserloot 82b14a3089 The only new JCTree node in java7, JCTypeUnion, is now supported by delombok. 2011-08-15 22:43:16 +02:00
Roel Spilker 41e58cde0f Added NetBeans installation instructions 2011-08-15 22:37:25 +02:00
Reinier Zwitserloot a85023b919 Optimized the 'val' search; previously a fairly lengthy import list check was done for _every_ local declaration _anywhere_ in _any_ eclipse source file to see if it needed 'val' treatment. Now as a shortcut there's a check if the typeRef's last part is equal to 'val', and if not, no check is performed. 2011-08-15 22:16:54 +02:00
Reinier Zwitserloot f4cce85965 fixed a warning during the ant compile process 2011-08-15 22:16:03 +02:00
Reinier Zwitserloot d8d47c687d Integrated Philipp's proof-of-concept delombok in javac7 fix, and used some
creative stubbing to ensure both the javac7 and the javac6 source file can be loaded in the same project in eclipse without dependency warnings.
2011-08-15 22:11:25 +02:00
Roel Spilker a284600987 Removed support for onMethod, onParam and onConstructor due to javac7 type incapabilities. Issue #251 2011-08-15 21:21:51 +02:00
Reinier Zwitserloot 7773bd4e60 Changed dep name of 'javac' into 'javac6' and added 'javac7', mostly for contrib purposes (we still compile against javac6, but having javac7 around for testing and such is nice). 2011-08-15 20:33:45 +02:00
Roel Spilker 55cb9f8dac Make extract method work with @Cleanup and @Synchronized 2011-08-12 01:15:34 +02:00
peichhorn f7ec1e33ed Got delombok to work with JDK 1.7.
For now PrettyCommentsPrinter is not able to print new features like JCTypeUnion,
but first tests indicate that besides this it works just fine.
2011-08-11 00:16:30 +02:00
peichhorn c996e8749d Made delomboks processor 'work' on java6 and java7 without any warnings 2011-08-10 11:42:15 +02:00
Roel Spilker 5bf3b5b5ec Made the annotation processor 'work' on java6 and java7 without any warnings 2011-08-08 23:48:13 +02:00
Roel Spilker c8697f96af changelog update for issue #249 2011-08-08 22:05:23 +02:00