aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/TransformEclipseAST.java
AgeCommit message (Collapse)Author
2021-04-23Change owner lombok GitHub repositoryRoel Spilker
2021-04-06Avoid reading file from disk by reusing the parser sourceRawi01
2020-08-27Use enum instead of Boolean; switch to synchronized mapRawi01
2020-08-27Handle each Eclipse ASTs not more than two times (diet + full)Rawi01
2019-01-22[fixes #2019] Lombok now properly deals with `@NonNull` specifically on the ↵Reinier Zwitserloot
‘type use’ of a parameter (and, in case of arrays, on the outermost dimension which is actually the first one listed. Weird corner case of the JLS).
2018-10-29eliminate ‘you are using private API’ warnings by streamlining all ↵Reinier Zwitserloot
reflective access via a class that uses sun.misc.Unsafe to arrange access. From the nqzero permit-reflect library.
2018-08-21bugfix for the new ‘find the next priority’ system committed earlier; it ↵Reinier Zwitserloot
should also find next priority for the astvisitors (only the annotation visitors were being considered).
2018-08-20reduced calls of traverse invocationsRoland Praml
2018-07-25Added key ‘dangerousconfig.lombok.disable’.Reinier Zwitserloot
2015-06-24[trivial] formatting.Reinier Zwitserloot
2014-09-29histogram tracker now nanoTime based; lombok itself can be histogrammed now ↵Reinier Zwitserloot
with -Dlombok.histogram
2013-05-30Fixes for issue 470: VerifyErrors when using @SneakyThrows.Reinier Zwitserloot
2012-11-12[refactor] Cleaned up static imports (always use *), and refactored out ↵Reinier Zwitserloot
getCtcInt calls into constants as defined in Javac.
2012-08-28If the JVM is started with -Dlombok.disable, lombok is disabled entirely for ↵Reinier Zwitserloot
both eclipse/ecj and javac operations.
2012-08-10* Added priorities to handlers, along with implementation of the priority ↵Reinier Zwitserloot
system for javac and ecj. * @Value now makes the class itself final by default.
2012-04-03Philipp Eichhorn's patch to use marker annotations instead of ↵Reinier Zwitserloot
boolean-returning interface methods for eclipse's postdiet and javac's isResolutionBased.
2011-11-07Changed copyright noticesRoel Spilker
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-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-18back-in-time debugging added. Of course now 164 isn't triggering anymore :/Reinier Zwitserloot
2011-06-13Fixed PrintAST, and separately SneakyThrows/Synchronized which failed ↵Reinier Zwitserloot
because the 'isFullParse' boolean was erronously set on a full rebuild, forced by HandleDelegate. HandleDelegate has also been updated to not do so much work if there's no @Delegate in a source file.
2011-06-02Eclipse handlers can now opt out of being run in diet-parse mode. Fixes ↵Reinier Zwitserloot
Synchronized and SneakyThrows
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-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.
2010-12-31Resolve-phase transformers in eclipse need to force a rebuild of the ↵Reinier Zwitserloot
EclipseAST object. Fixes issue #171
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-01@Delegate in eclipse now uses more of the standard infrastructure to inject ↵Reinier Zwitserloot
methods.
2009-12-23prep for this class working better for ecj.Reinier Zwitserloot
2009-11-25Refactored the source folders.Reinier Zwitserloot