aboutsummaryrefslogtreecommitdiff
path: root/src_eclipseagent/lombok
AgeCommit message (Collapse)Author
2009-10-16Fixed issue #24 by refactoring the AST.Node class - taken it out, and in the ↵Reinier Zwitserloot
process fixed a lot of type annoyance by adding more generics. Also changed coding style from for/while/if/switch/catch/do ( expr ) {} to for (expr) {}, hence the changes _everywhere_.
2009-10-13The ORIGINAL flag seems to be some sort of 'generated code' marker, and it ↵Reinier Zwitserloot
does do something, but not enough. Still, we clear it, for the little good it does do.
2009-10-11Integrated lombok.jar and lombok.eclipse.agent.jar into one jar that ↵Reinier Zwitserloot
installs, is a javac apt processor, and an agent, all at once.
2009-10-10Renaming an inner type, or a type in a linked file, still failed. Now it works.Roel Spilker
2009-10-09Also prevented generated nodes from being removed from ASTRewriter.Reinier Zwitserloot
2009-10-09After a 4 hour crazy search, we found it! Rename Compilation Unit refactor ↵Reinier Zwitserloot
script now works fine, even if your class has a @Data annotation.
2009-10-08The lombok.patcher project renamed one of the builder methods to a better name.Reinier Zwitserloot
2009-10-08organized the various patch scripts into separate methods that have sensible ↵Reinier Zwitserloot
names - that method was getting awfully long.
2009-10-07Fixed one of our patch scripts that presumed any convert() method with 1 ↵Reinier Zwitserloot
parameter was always receiving an ASTNode child. One of the methods actually gets an array of those, which isn't of course a subclass of ASTNode itself.
2009-10-07Removed debug printsReinier Zwitserloot
2009-10-07Fully moved to using the lombok.patcher project. Means our dependency on ASM ↵Reinier Zwitserloot
is no longer needed (our dep on lombok-patcher takes care of it), and the old EclipseTransformer system has been removed.
2009-09-29bugfix in name of class to patch.Reinier Zwitserloot
2009-09-29Everything seems to be working smoothly! Perhaps time to make this the main ↵Reinier Zwitserloot
branch...
2009-09-26Rewrite of the eclipse agent to use the new lombok.patcher project.Reinier Zwitserloot
2009-09-23BIIG change to the eclipse agent: Now all patcher classes represent ↵Reinier Zwitserloot
themselves via SPI. LinkedNOdeFinderTransformer is broken.
2009-09-03Added a bunch of javadoc. No other changes.Reinier Zwitserloot
2009-09-01[TRIVIAL]Reinier Zwitserloot
2009-09-01Added a simple rewriter to the catch block finder of ASTConverter: If it ↵Reinier Zwitserloot
can't find it, it used to return -1, which is exceedingly useless and causes no end of bugs. Changed it to returning the start point of the search, which is a more useful fallback.
2009-07-06Last massive documentation dump. All basic javadoc is now done, though ↵Reinier Zwitserloot
especially the docs on the lombok annotations in the lombok package need far more massaging. Also added a feature to HandleSynchronized to not auto-generate the locker fields if a specific name is provided (because, imagine you typoed those. You'd never find it!)
2009-07-05More documentation.Reinier Zwitserloot
2009-07-05[TRIVIAL]Reinier Zwitserloot
2009-06-28Removed a debug print.Reinier Zwitserloot
2009-06-28Preparating for java 1.5-ification. All stuff that isn't specific to javac ↵Reinier Zwitserloot
should run in java 1.5, so that an eclipse started on a 1.5 JVM will still run lombok.
2009-06-19Finding lombok.jar would fail if you had any spaces in the path. Fixed that.Reinier Zwitserloot
2009-06-19Moved ClassLoaderWorkaround from 'java.lombok' to 'java.lombok.eclipse' as ↵Reinier Zwitserloot
its clearly eclipse-specific.
2009-06-19Live reloading of the eclipse parser classes is technically supported by the ↵Reinier Zwitserloot
agent though I never tested it. I found a bug while browsing this code. fixed it.
2009-06-19Renamed EclipseParserPatcher to EclipsePatcher, as it patches not just the ↵Reinier Zwitserloot
parser, but also the CompilationUnitDeclaration class so we can store our AST in it for caching purposes.
2009-06-19List of stuff we still need to do as well as research notes on how to get there.Reinier Zwitserloot
2009-06-15Fixed showstopper bugs we ran into when actually running with these changes. ↵Reinier Zwitserloot
Related to 8353911b1d3a8d59a07042976bb924a7eccb5d0d
2009-06-15Renamed lombok.agent.eclipse to lombok.eclipse.agentReinier Zwitserloot
2009-06-15Now you no longer need to add a -Xbootclasspath/a parameter to eclipse.ini; ↵Reinier Zwitserloot
the agent fixes the classpath all by its lonesome. Wahey!
2009-06-12Removed the WeakHashMap for caching EclipseAST objects; obviously wasn't ↵Reinier Zwitserloot
working due to circular reference from the EclipseAST back to the CUD. Now, patched a field into CompilationUnitDeclaration and using that, which works much better together with the garbage collector.
2009-06-12Singularly massive code change, too hard to document. Basically, hooking now ↵Reinier Zwitserloot
occurs in the two most sane places: - After the parser is done building a first rendition of the AST. (Usually lightweight and missing method bodies etc) - After the parser is done taking such a lightweight AST and filling in the gaps. Lombok then builts its own bidirectional and somewhat saner AST out of this, and hands this saner AST off for treatment. Things in the AST can be marked as 'handled'. This seems to work swimmingly and should allow us to easily identify the annotations that are for us, and work our magic, no matter where they appear or on what, including stuff inside method bodies.
2009-06-09Major bugfix.Reinier Zwitserloot
2009-06-09Many changes:Reinier Zwitserloot
- Split off the actual agent work into a separate src package in preparation for creating separate jars. Involved a lot of renaming - Renamed TransformCompilationUnitDeclaration to TransformEclipseAST, as this class will also be transforming e.g. MethodDeclaration objects. - Expanded the patching to also patch in transform calls when the parser fills in the Statement array for existing constructors, methods, and initializers. - Redesigned the ClassLoaderWorkaround class quite a bit. - Positioning should not work correctly ('jump to method' should jump to the getter annotation). (Apparently, Clinit objects are always fully parsed in the original run, so no need to patch anything there).