Age | Commit message (Collapse) | Author |
|
Specifically, Rawi01's patches to make javadoc behaviour in eclipse better,
which cannot be applied to ecj as you get load errors (javadoc not a thing there).
As part of this commit, tests can be limited to ecj or eclipse, and I made cut-down
versions of a few tests (to run on ecj, as the main one cannot be, due to javadoc issues).
The tests now marked as eclipse only don't fail on ecj, but they don't generate the same
result. Alternatively, we could go with a separated out after-ecj and after-eclipse dir
instead, but that's perhaps going overboard.
|
|
should also find next priority for the astvisitors (only the annotation visitors were being considered).
|
|
|
|
boolean and references, and the code no longer blows up with a bunch of NPEs if you try to use the reference variant (which is now the only variant) with a primitive type.
Should have zero effect on features or bugs, 100% refactor.
|
|
|
|
Conflicts:
build.xml
src/core/lombok/eclipse/HandlerLibrary.java
src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
src/core/lombok/javac/HandlerLibrary.java
src/core/lombok/javac/handlers/JavacHandlerUtil.java
|
|
used a
WeakHashMap to fake a field.
|
|
so that third party additions can add their own.
|
|
|
|
'ConfigurationKeys'; that bug where fields in annotation defs causes issues is too endemic to try and work around these.
|
|
other lombok plugin developers.
|
|
getCtcInt calls into constants as defined in Javac.
|
|
setting the annotation you handle for an XAnnotationHandler<T>;
default behaviour still extracts the T part out of the signature.
|
|
system for javac and ecj.
* @Value now makes the class itself final by default.
|
|
lombok's annotation framework.
|
|
boolean-returning interface methods for eclipse's postdiet and javac's isResolutionBased.
|
|
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).
|
|
|
|
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.
|
|
skipPrintAst was a singleton global, so, yes, thread race issues all over the place.
|
|
even if its a post-diet handler.
|
|
Synchronized and SneakyThrows
|
|
handled is only done if we are -actually- going to call a handler.
|
|
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.
|
|
|
|
|
|
|
|
|