aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac
AgeCommit message (Collapse)Author
2012-03-27Merge branch 'master' into accessorsReinier Zwitserloot
Solved trivial merge conflict based on ordering of import statements Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java
2012-03-27Fixes issue 326: In NetBeans, the generated default constructor was compiled ↵Roel Spilker
into the classfile, even when lombok generated constructors.
2012-03-26In delombok mode, @Accessors is now eliminated from your source files.Reinier Zwitserloot
2012-03-26Finished work on @AccessorsReinier Zwitserloot
2012-03-26Merge branch 'acc2' into accessorsReinier Zwitserloot
Conflicts: src/core/lombok/eclipse/handlers/HandleGetter.java src/core/lombok/eclipse/handlers/HandleSetter.java src/core/lombok/javac/handlers/HandleGetter.java src/core/lombok/javac/handlers/HandleSetter.java
2012-03-26Updated findMethod with paramcount.Reinier Zwitserloot
2012-03-22Bug fixes for updates to getter/setter stuff based on @Accessors.Reinier Zwitserloot
2012-03-21Implementation of @Accessors.Reinier Zwitserloot
2012-03-19Fix for issue 342: @Deprecated annotation not propagated to generated ↵Roel Spilker
getter/setter
2012-03-05Issue 348: @Delegate should also generate @Deprecated when the interface ↵Roel Spilker
methods javadoc contains@deprecated
2012-02-27Consistent use of JavacResolution.typeToJCTree instead of TreeMaker.Types - ↵Sander Koning
fixes issue 341 where use of @Delegate with T-extends type parameters would prepend a dot to the fully qualified classname.
2012-02-25Handle deprecated by ordinary usage.Taiki Sugawara
2012-02-22support delegate with deprecated comment.Taiki Sugawara
2012-02-15'val' is no longer legal in basic for loops now. Fixes issue #346Reinier Zwitserloot
2012-02-14Bumped copyright years on recently (in 2012) changed sources.Reinier Zwitserloot
2012-02-14No more autobox/type coercion issues with @Getter(lazy=true) and primitive ↵Reinier Zwitserloot
types. (Issue #345).
2012-02-14'val' now works for member types whose outers have generics. (issue #343)Reinier Zwitserloot
2012-01-24Fix for issue 328: @Delegate on a field for which we also generate a getter ↵Roel Spilker
will use the getter for delegation
2012-01-19[Issue 275] Allow @Delegate on no-argument methodspeichhorn
2012-01-09trivial refactorReinier Zwitserloot
2011-12-19Merge branch 'typeLibrary'Reinier Zwitserloot
2011-12-15Generated nodes are now cached using a fully-weak Map.Robbert Jan Grootjans
Should hopefully fix Netbeans performance issue #242. Compared heap dump pre and post-fix, seems to work.
2011-12-13Refactored the type resolver, and made the 'find locally named classes that ↵Reinier Zwitserloot
shadow' feature way better; previously it would only find very few locally named classes (your own class and any parent outers, that was it, no siblings).
2011-11-21Made an API for creating a (oracle javac) JavaCompiler which tracks comments ↵Reinier Zwitserloot
on a per Compilation Unit basis. The old way involved making reflective calls and detecting whether you need the 1.6 or the 1.7 variant to do this. These shenanigans are now hidden behind a nice API (lombok.javac.CommentCatcher).
2011-11-20Fix for issue 299: labels would break 'val' in javac.Reinier Zwitserloot
2011-11-13Eclipse/JavacHandlerUtil.injectField(...) inserts the new fields after the ↵peichhorn
enum constants. Also the new fields are ordered in the same way the method injectField() gets invoked.
2011-11-07Changed copyright noticesRoel Spilker
2011-10-25Fixed issue 289: non-static inner classes whose outer class has generics ↵Reinier Zwitserloot
can't be @EqualsAndHashCode marked.
2011-10-24pretty big refactor; introduced a new source package which should be (and ↵Reinier Zwitserloot
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-10Added missing copyright header and bumped version number to xHEAD.Reinier Zwitserloot
2011-10-07Accept JCCatch as 'statement' (issue #281)Sander Koning
2011-09-20toString() of various delegates to interop with javac (FileObjectWrapper and ↵Michail Plushnikov
InterceptingJavaFileObject) now also delegated. Relevant for IntelliJ support.
2011-08-16Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2011-08-16This fixes 'val' not working in javac7. The LogDisabler used to simply ↵Reinier Zwitserloot
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-16Renamed Javac.getCTCint to getCtcIntRoel Spilker
Made delombok work with multiple JavaCompiler's on the classpath Made @Getter(lazy=true) work on javac7 (fixes issue#223)
2011-08-15Merge branch 'delombok_java7'Reinier Zwitserloot
2011-08-15fixed a warning during the ant compile processReinier Zwitserloot
2011-08-15Removed support for onMethod, onParam and onConstructor due to javac7 type ↵Roel Spilker
incapabilities. Issue #251
2011-08-10Made delomboks processor 'work' on java6 and java7 without any warningspeichhorn
2011-08-08Made the annotation processor 'work' on java6 and java7 without any warningsRoel Spilker
2011-07-30fixed Issue 243:peichhorn
"canEqual(java.lang.Object)" was not in the blacklist of HandleDelegate (only javac, for eclipse it was already present)
2011-07-30fixed Issue 244:peichhorn
Between javac 1.6 and 1.7 the type of the field JCClassDecl.extending has changed from JCTree to JCExpression, but the method getExtendsClause() still returns a JCTree. So we use this for now.
2011-07-24Fixes issue 176 more thoroughly; even if both javac6 and javac7 are on the ↵Reinier Zwitserloot
classpath, the 'right' BaseFileObject wrapper is now used.
2011-07-18Changes to the lombok annotations processor, forcing the java processing ↵Jan Lahoda
environment into doing multiple rounds and disabling certain reparses in netbeans. Thanks to Jan Lahoda for researching this issue and supplying us with a patch.
2011-07-18Now either all or none of equals/hashCode/canEqual is generated. Fixes issue ↵Roel Spilker
240.
2011-06-20Minor tweaks to documentation updates (javadocs, website).Reinier Zwitserloot
2011-06-20Javac/EclipseAnnotationHandler are now abstract classes instead of ↵Reinier Zwitserloot
interfaces; there were too many 'option' methods (methods where you return either true or false), so we really needed the ability to pick a default.
2011-05-30Whoops, we broke @Delegate with the last update. Now the CAS check on ↵Reinier Zwitserloot
handled is only done if we are -actually- going to call a handler.
2011-05-30tracking if an annotation has been handled or not is now no longer doneReinier Zwitserloot
via the LombokAST object. Instead its tracked more directly in an attempt to avoid having to write all handlers as idempotent, and just in case issue #164 is a race condition (the handled-or-not is a synchronized CAS check). This does break API for other plugins, but the fix is trivial: Just make your 'handle' method return void. That 'we won't call you again' business in the decks never quite worked right anyway. Also, you might want to call Javac.(recursive)setHandledBy when you generate nodes, now.
2011-05-30HandleDelegate did not remove the annotation @Delegate from javac's AST, so ↵peichhorn
HandleDelegate was called multiple times for the same field resulting in an error saying the delegate method was already defined. Also added a test for @Delegate that uncovered this issue.