aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
AgeCommit message (Collapse)Author
2011-08-01Fixed issue 164. Oh yes. Party time!Reinier Zwitserloot
skipPrintAst was a singleton global, so, yes, thread race issues all over the place.
2011-07-24Merge branch 'i164diag'Reinier Zwitserloot
2011-07-18Fixes issue 232, now we also patch dom.SingleVariableDecls. Fixes val import ↵grootjans
disappearing when organizing imports in Eclipse, when using val in a foreach.
2011-07-18back-in-time debugging added. Of course now 164 isn't triggering anymore :/Reinier Zwitserloot
2011-06-06-javaagent:lombok.jar=ECJ should now work to enable lombok in any ecj-based ↵Reinier Zwitserloot
tool including ecj itself.
2011-05-17Added a layer of indirection between the patched calls for delegate to guard ↵grootjans
against situations in which lombok can't possibly work, since there is not enough of eclipse on the classpath. Major example of this is when we are called through jsps in the eclipse help. Also added an extra check before the patchval is performed by checking if previous patch calls failed in TransformEclipseAST. This fixes Issue #207.
2011-05-16Whoops - previous commit has a grievous error in it. My bad. Fixed now.Reinier Zwitserloot
2011-05-16Split up PatchVal into the ecj and eclipse bits; in ecj you'd just get ↵Reinier Zwitserloot
NoSuchClassErrors.
2011-01-02Should fix issue #175, where annotations mysteriously appear to be copied to ↵Reinier Zwitserloot
the methods generated by them.
2010-12-28Using @Delegate to add a varargs method now works in eclipse (the varargs ↵Reinier Zwitserloot
nature of the method is preserved).
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-14eclipse: methods with their own type variables can now be delegated.Reinier Zwitserloot
eclipse: local classes can now be delegated. eclipse: source position of delegated methods are now set properly. cleaned out a bunch of debug helpers.
2010-11-14Moved patch code specific to val and delegate to their own class.Reinier Zwitserloot
@Delegate in eclipse works pretty much exactly as designed at this point!
2010-11-13Jiggered the hook point a bit for eclipse 'delegate' support and it looks ↵Reinier Zwitserloot
like this might just work.
2010-11-11Mostly fruitless work on making delegate work in eclipse.Reinier Zwitserloot
2010-11-08Ran into a one-off, non-repeatable problem involving arguments not binding ↵Reinier Zwitserloot
correctly. Just in case its our fault, added some extra code to not even attempt any 'val' shenanigans in method arguments (which are LocalDeclaration subclasses).
2010-11-08'val' now also works in foreach loops, on both javac and ecj / eclipse.Reinier Zwitserloot
2010-11-08'val' with an array on the initializer didn't work in eclipse.Reinier Zwitserloot
2010-11-07'val' support for eclipse.Reinier Zwitserloot
2010-08-15Added name of compilation unit to error/warnings generated by postProcess.Roel Spilker
2010-08-08Post-compilation works in both Eclipse and ecjRoel Spilker
2010-07-22Updated copyright statements and version release name.Reinier Zwitserloot
2010-07-21Added some 'live debugging' - patches to improve error reporting for bugs ↵Reinier Zwitserloot
that are very hard to reproduce.
2010-07-16previous update to the code due to changes in lombok.patcher introduced a ↵Reinier Zwitserloot
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-04-24Keeping pace with changes to lombok.patcher.Reinier Zwitserloot
2009-12-29EclipsePatcher now only patches needed stuff when in ECJ mode.Reinier Zwitserloot
2009-12-23work in progress on ecj support.Reinier Zwitserloot
2009-12-01Generalized the agent mechanism; now 1 lombok.jar can serve as the agent for ↵Reinier Zwitserloot
BOTH netbeans AND eclipse, and is future-ready for an IntelliJ agent.
2009-11-25Refactored the source folders.Reinier Zwitserloot