Commit Graph
698 Commits
Author SHA1 Message Date
Reinier Zwitserloot c318bb7a0a Merge branch 'master' of github.com:rzwitserloot/lombok 2010-11-08 18:02:01 +01:00
Reinier Zwitserloot 46feeaab85 'val' with an array on the initializer didn't work in eclipse. 2010-11-08 16:39:55 +01:00
Reinier Zwitserloot 3855a2171b Delombok on files with only 'val' in them, without --force, didn't do anything. Fixed. 2010-11-08 16:01:19 +01:00
Reinier Zwitserloot 09cebbdc59 'val' in javac now errors out with an appropriate message on val x = { .. }, and arrays no longer cause "Symbol not found: Array" errors. 2010-11-08 15:30:51 +01:00
Roel Spilker 6e5acaca49 Added support for canEquals in javac 2010-11-08 02:57:01 +01:00
Roel Spilker d4ae32fd79 Little cleanup 2010-11-08 02:56:34 +01:00
Reinier Zwitserloot 2f202525af Merge branch 'eclipseReso' 2010-11-07 23:24:08 +01:00
Reinier Zwitserloot 3b58e1a115 'val' support for eclipse. 2010-11-07 23:23:48 +01:00
Roel Spilker 75e8c4f6a0 Updated changelog 2010-11-07 15:26:07 +01:00
Roel Spilker 2097dd8731 Solved issue 155: "Eclipse constructor generation not in class body" http://code.google.com/p/projectlombok/issues/detail?id=155
Now all lombok generated methods are located before any other method.
2010-11-07 15:16:48 +01:00
Roel Spilker 378b939108 Now generated nodes can also be detected in ecj 2010-11-07 15:13:47 +01:00
Roel Spilker 1f0db1191a Use the actual annotation value to process the @Log annotations instead of their String representations. 2010-11-07 02:49:01 +01:00
Roel Spilker 50524f338e Provide access to the actual annotation values 2010-11-07 02:48:13 +01:00
Roel Spilker 2e88614a84 Updated changelog 2010-11-06 23:50:58 +01:00
Roel Spilker 8e7334a505 Updated documentation on @Log and moved them all to lombok.extern.* 2010-11-06 23:29:43 +01:00
Roel Spilker d1addc14d5 Updated website documentation to include @Log 2010-11-06 22:01:18 +01:00
Reinier Zwitserloot 3cbd92e1b2 Merge branch 'master' of github.com:rzwitserloot/lombok 2010-11-06 21:17:48 +01:00
Reinier Zwitserloot 384bff18c9 implicit flags in interfaces (all methods become public abstract, etc) are now no longer printed in delombok 2010-11-06 21:17:44 +01:00
Roel Spilker 5915032899 Have j.u.l. be invoked with TargetType.class.getName() instead of "TargetType" 2010-11-06 20:41:36 +01:00
Roel Spilker 529a480ca9 Use a ClassLiteralAccess instead of a NameReference 2010-11-06 17:39:04 +01:00
Roel Spilker 0c7b29f8e7 Create Clinit if you create a static field and it doesn't yet exist 2010-11-06 16:41:17 +01:00
Roel Spilker a48c335c7d Code cleanup 2010-11-06 16:05:06 +01:00
Roel Spilker 8a3a656213 Add support for multiple logging frameworks in Eclipse 2010-11-06 15:37:20 +01:00
Roel Spilker 66661b63c8 Reorder parameters 2010-11-06 15:36:45 +01:00
Roel Spilker f6bbebfbd2 Use an annotation instead of implementations of interfaces 2010-11-06 14:17:22 +01:00
Roel Spilker 1346a830c1 Fixed typo 2010-11-06 14:16:57 +01:00
Roel Spilker c3eddf66cf Added support for Log4J, Commons and JUL in the javac handler 2010-11-06 13:30:22 +01:00
Roel Spilker 7219b78b4d Fixed typo in unit test 2010-11-06 13:29:00 +01:00
Roel Spilker f6b60b0cae Intial support for @Log, for now only slf4j 2010-11-03 02:13:28 +01:00
Reinier Zwitserloot fcf39d88b4 Merge branch 'master' of github.com:rzwitserloot/lombok 2010-11-03 00:43:05 +01:00
Reinier Zwitserloot f1cf083890 val in java, including tests and javac resolution utilities. 2010-11-03 00:42:58 +01:00
Reinier Zwitserloot d9ba2a191a big changes to delombok to prep for resolution, when sourcepath and classpath are relevant, and the flow needs to be parse all, then enter all, then transform all, instead of parse->enter->transform sequentially for each file in isolation. 2010-11-03 00:42:32 +01:00
Reinier Zwitserloot 6e2924bcf2 Some small framework updates to accomodate resolution. 2010-11-03 00:40:30 +01:00
Roel Spilker 17bcfda43b Issue 154: Add null-check to @Cleanup 2010-11-02 20:39:58 +01:00
Roel Spilker 5897d9685e Removed trailing tab 2010-11-02 20:36:51 +01:00
grootjans 29e07a4875 Added after-delombok test files for Logger 2010-10-31 23:56:49 +01:00
Reinier Zwitserloot fc6670e1c4 The previous commit (fix for ZIP closed errors) actually breaks lombok on systems with a javac that _does not_ close the annotation processor's jar. Fixed that, too. 2010-10-04 20:20:39 +02:00
Reinier Zwitserloot 5a24e6f9f2 Fix for "ZIP file closed" errors caused by the postprocessor trying to load more lombok classes to do its job, after javac has already closed the classloader via a hack. We hack the hack to stop javac from closing only _our_ (that is, lombok.jar's) classloader.
Co-Author: Roel
2010-10-01 03:19:48 +02:00
Reinier Zwitserloot 05c97e8bfa bugfix for the sneakyThrows remover: In rare cases would erroneously delete an ATHROW opcode. 2010-09-30 21:43:03 +02:00
Reinier Zwitserloot c10b91309e trivial: javadoc fixes, renamed 'className' to 'fileName'for postprocessor 2010-09-30 21:42:41 +02:00
Reinier Zwitserloot bcdd5226ce Documented the addition of the post-process stuff, which fixes issue 144. 2010-08-15 23:57:00 +02:00
Reinier Zwitserloot 431543afcd Documented the ClassFileMetaData utility. 2010-08-15 23:19:15 +02:00
Reinier Zwitserloot 240473a6c2 Merge branch 'postProcess' 2010-08-15 22:59:49 +02:00
Reinier Zwitserloot 4c23804837 Update to force reading of test sources as UTF-8, which they are. 2010-08-15 22:59:10 +02:00
Roel Spilker 1f1fd17350 Added name of compilation unit to error/warnings generated by postProcess. 2010-08-15 22:38:32 +02:00
Roel Spilker e4845802a7 Updated buildscript to include tests and eclipse .project generation for the new bytecode tests in test/bytecode/src 2010-08-15 22:35:29 +02:00
Roel Spilker b0ec7d5389 Added error/warning to the printed messages. 2010-08-15 22:27:56 +02:00
Reinier Zwitserloot 81cfc844b9 Changelog for fix to issue 140 2010-08-14 04:06:43 +02:00
Reinier Zwitserloot 2043399d39 delombok added type parameters to constructors that mirror the type's own type parameters. This resulted in delombok turning any generated constructor that takes at least 1 parameter of type 'T' into something that didn't compile, and to boot, a confusing error message. This is now fixed.
Fixes issue #140.
2010-08-14 04:05:27 +02:00
Reinier Zwitserloot 8d012f6734 The "// Generated by delombok at ...." line at the top of delombok-produced source files now uses the system's local line-ending just like the rest of the source file, instead of posix/unix style LF.
Reported by Anthony Whitfield, fixes issue #142.
2010-08-13 04:19:39 +02:00