aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-01-31Changed internal call for resolution to method support in javac7grootjans
2011-01-24NPE fixReinier Zwitserloot
2011-01-24In javac, @XArgsConstructor on enums was not forcing the generated ↵Philipp Eichhorn
constructor to be private (as all enum constructors have to be). Fixes issue #186
2011-01-10Merge branch 'master' of git@github.com:rzwitserloot/lombokRoel Spilker
2011-01-10In javac7 the BaseFileObject and JavacFileManager have been moved fromRoel Spilker
com/sun/tools/javac/util to com/sun/tools/javac/file
2011-01-08Making delombok compatible with post-resolution transformers meant delombok ↵Reinier Zwitserloot
would fail with a 'duplicate context value' error. Fixes issue #178 Thanks to Neildo for using the 0.10.0 beta and spotting the problem - the tests don't run 1 delombok with multiple files. Maybe we should change that.
2011-01-02Should fix issue #175, where annotations mysteriously appear to be copied to ↵Reinier Zwitserloot
the methods generated by them.
2011-01-02Added debug feature (disabled in this commit) to print types of nodes ↵Reinier Zwitserloot
printed by EclipseASTVisitor.Printer
2010-12-31Using annotation processors with lombok sometimes results in a 'Not ↵Reinier Zwitserloot
Supported: DummyRound0' error. This fixes it. Fixes issue #176
2010-12-31Starting eclipse with an open file containing an enum with @Getter on it ↵Reinier Zwitserloot
would cause 1 error log entry to show up. No other effects other than that, but thats ugly and so thats been fixed.
2010-12-31Resolve-phase transformers in eclipse need to force a rebuild of the ↵Reinier Zwitserloot
EclipseAST object. Fixes issue #171
2010-12-31Presence of i.e. getABC() stops lombok from generating getAbc, but lombok ↵Reinier Zwitserloot
will still attempt to call this nonexistent getAbc instead of getABC. Fixed. Fixes issue #173.
2010-12-31calls to canEqual and equals are now fored to go to the version that has 1 ↵Reinier Zwitserloot
Object as parameter (creating new equals methods by giving them non-object parameterized is a _really_ bad idea, but if someone did do that, obviously lombok shouldn't call those!) Fixes #165.
2010-12-28@ToString, @Getter, and @XArgsConstructor now work on, and are legal on, ↵Reinier Zwitserloot
enums. Docs have been updated. Behaviour of @XArgsConstructor when its placement makes no sense (i.e. when annotating an interface with them) is no longer 'throw weird errors', but has been brought in line with the others: A nice error message is generated. Fixes issue #175
2010-12-28Using @Delegate to add a varargs method now works in eclipse (the varargs ↵Reinier Zwitserloot
nature of the method is preserved).
2010-12-24Added detection of type var naming conflicts to eclipse's @Delegate support.Reinier Zwitserloot
2010-12-22val x = foo; is now desugared into "@val type x = foo;" (the @val is added), ↵Reinier Zwitserloot
for javac. Of course, this is NOT done in delombok mode.
2010-12-22After 2 weeks of debugging, finally figured out val in eclipse using ↵Reinier Zwitserloot
lombok.val without breaking 'fix imports'. Eesh. Using "lombok.val" only half-works; auto-complete on the variable doesn't work, but it compiles fine and no errors are reported.
2010-12-22@Delegate in eclipse works when delegating parameterized types now, and will ↵Reinier Zwitserloot
use the parameter names if the delegated element is a source (vs. class) dependency.
2010-12-18Moved all the Compile time constants from the Javac handlers and supporting ↵grootjans
classes
2010-12-01Parameter names are now 'arg0', 'arg1', etc, unless the delegated type is ↵Reinier Zwitserloot
source, then the name is copied over. Compared to javac, this means eclipse's @Delegate does NOT use debug symbols, which we'll have to fix later (We checked out how to do it, and it seems virtually impossible).
2010-12-01@Deprecated is now copied across for eclipse's @DelegateReinier Zwitserloot
2010-12-01@Delegate in eclipse now uses more of the standard infrastructure to inject ↵Reinier Zwitserloot
methods.
2010-11-29lombok.val import now gets removed. Only adding lombok.val flags the ↵Roel Spilker
compilation unit as changed.
2010-11-29some more work on why delombok isn't tracking changes due to val alone.Reinier Zwitserloot
2010-11-29Make compilable under JDK 7's javac (thus also removing an error mark in ↵Jesse Glick
NetBeans' editor). src/core/lombok/core/LombokNode.java:260: gatherAndRemoveChildren(Map<N,L>) has private access in LombokNode for (L child : children) child.gatherAndRemoveChildren(map); ^ where N,L,A are type-variables: N extends Object declared in class LombokNode L extends LombokNode<A,L,N> declared in class LombokNode A extends AST<A,L,N> declared in class LombokNode
2010-11-29'val' now only works if its a reference to lombok.val on javac.Reinier Zwitserloot
2010-11-29Added 'val' as a type which the 'val' fake keyword must resolve to before ↵Reinier Zwitserloot
val works, as a gesture to make val less 'magical'. It even works, in eclipse. Next up: javac.
2010-11-29The somewhat rare conflict in typevar names problem has now been solved in ↵Reinier Zwitserloot
javac.
2010-11-28bugfixes for typeToJCTree. HandleDelegate (javac) is working better.Reinier Zwitserloot
2010-11-26Fixed @PrintAST, which wouldn't do anything at all in javac mode since ↵Reinier Zwitserloot
resolution support was added.
2010-11-25Documented @Delegate with javadoc.Reinier Zwitserloot
2010-11-25@Delegate, at least without value=, seems to work great in javac now!Reinier Zwitserloot
2010-11-22Updated version name - should have done that after pushing 0.10.0-BETA2.Reinier Zwitserloot
2010-11-22Merge branch 'master' of git@github.com:rzwitserloot/lombokRoel Spilker
2010-11-22- Renamed the diverse @Log annotations to give them distinct namesRoel Spilker
- Removed the option to specify a different class to log on - Updated tests and documentation
2010-11-22Cleaned up the patch fixes in eclipse for finding end of identifier and ↵Reinier Zwitserloot
start of catch block. Maaartin-1 reported issues that sound like these were at fault they we were not able to reproduce them.
2010-11-22Added storing instanceof JavacTypes in JavacAST, and renamed ↵Reinier Zwitserloot
JavacResolution's methods.
2010-11-19Fix for reported NPEs by Stephen Haberman.Reinier Zwitserloot
2010-11-18Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2010-11-18Pre-beta-releaseReinier Zwitserloot
2010-11-18Fixed @AllArgsConstructor screwing up with final fields that have been ↵Reinier Zwitserloot
initialized.
2010-11-18In javac, use ListBuffer to appendRoel Spilker
2010-11-16Added extra javadoc linksRoel Spilker
2010-11-15Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2010-11-15Added copyright notices to PatchVal and PatchDelegate [trivial]Reinier Zwitserloot
2010-11-15eclipse @Delegate: Whoops; earlier fixes meant methods that existed ↵Reinier Zwitserloot
explicitly in multiple supertypes got added that many times, resulting in duplicate method errors. Fixed.
2010-11-15In javac, use ListBuffer to appendRoel Spilker
2010-11-14eclipse: @Delegate now no longer generates methods that you already wrote.Reinier Zwitserloot
2010-11-14Removed the brainfart where final methods aren't delegated.Reinier Zwitserloot