aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
AgeCommit message (Collapse)Author
2020-12-27fixing sneakythrows in ecj, and with that, the tests.Reinier Zwitserloot
2020-12-20[tests] Support javadoc in ecj testsRawi01
2020-10-30[issue #285] Compiling with Maven+Tycho should now workReinier Zwitserloot
2020-10-15[#2599] Completely rewrite how we decide whether it's ecj or eclipse for ↵Reinier Zwitserloot
patching
2020-10-03Untangling patches to classes that only exist in eclipse, not ecjReinier Zwitserloot
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.
2020-09-18Merge pull request #2558 from Rawi01/extensionmethod-suppressReinier Zwitserloot
Fix suppressBaseMethods in ecj/eclipse
2020-09-18Merge branch 'delegate-methods-outline' of git://github.com/Rawi01/lombok ↵Reinier Zwitserloot
into Rawi01-delegate-methods-outline # Conflicts: # src/core/lombok/eclipse/EclipseAugments.java
2020-09-18Merge branch 'eclipse-javadoc' of git://github.com/Rawi01/lombok into ↵Reinier Zwitserloot
Rawi01-eclipse-javadoc # Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
2020-08-29[tests] Fix Delegate testsRawi01
2020-08-20[bugfix] Fix suppressBaseMethods in ecj/eclipseRawi01
2020-08-16Add generated delegate methods to eclipse outlineRawi01
2020-07-29Support javadoc copying in eclipseRawi01
2020-07-12[fixes #977] Set generated flag for annotation namesRawi01
2020-04-14[fixes #2286] Set source range for vararg arraysRawi01
2020-02-26Add moved CodeStyleFix to patch listRawi01
2020-01-30[bughunt] [issue #2351] wild-stab try to fix issue 2351, without ↵Reinier Zwitserloot
reproduction - this time for realsies, whoops.
2020-01-30[bughunt] [issue #2351] wild-stab try to fix issue 2351, without reproduction.Reinier Zwitserloot
2019-06-15Avoid Eclipse warnings about null checks generated for lombok.NonNull when ↵Till Brychcy
NonNullByDefault is used
2019-01-29[fixes #2024] FieldNameConstants was causing lots of problems in eclipse, ↵Reinier Zwitserloot
especially with save actions.
2018-03-28Merge remote-tracking branch 'remotes/upstream/master'Christian Nüssgens
2018-03-27[trivial] eclipse patches are loaded from Class50 even if you override the ↵Reinier Zwitserloot
shadowloader classpath, but only if you have lombok.jar in there. This solves exotic problems if you try to add some features to lombok in a separate jar, and addresses issue #1523
2018-01-07Try fix "A save participant caused problems." cnuessgens
The bugfix was originally created by mateusz-matela
2018-01-07revert initial fix-trialcnuessgens
2018-01-07Revert "Revert "Initial test""cnuessgens
This reverts commit c489b49c3684e0d8cc52c5180207375d1313dbc5.
2018-01-07Revert "Initial test"cnuessgens
This reverts commit 43d91281d0a298df72b38c43d87769c3a33e950b.
2018-01-07Initial testcnuessgens
2017-02-07trivialRoel Spilker
2017-01-19Merge pull request #1060 from rgra/Issue210Roel Spilker
Patch for renaming fields with Getter/Setter/Data in eclipse #210
2016-11-07[issue #1218] Annotation Processors that have an (internal) dependency on ↵Roel Spilker
ecj (google's dagger project has this, don't know of any others), when run inside eclipse, bombs with a LinkageError. Fixed.
2016-03-25Patch for renaming fields with Getter/Setter/Data in eclipse.rgra
2015-07-08Fixes for eclipse mars.Reinier Zwitserloot
2015-06-24[trivial] Fix for running lombok in a launched eclipse for debugging ↵Reinier Zwitserloot
purposes. This has no effect on lombok running normally.
2015-04-08Updated to patcher 0.20 with updates for bugs where you’d type a quote and ↵Reinier Zwitserloot
then eclipse would hang.
2015-04-05fixed the ‘cleanup/codeformat on save’ save cleanup action in Eclipse Mars.Reinier Zwitserloot
2015-04-02[i802] working on eclipse mars support; this needs a few updates to ↵Reinier Zwitserloot
integration with patcher.
2015-02-08[shadowloader] Fix for lombok v1.16.0 no longer working in eclipses that use ↵Reinier Zwitserloot
-target 1.4 style class files (such as eclipse indigo). It’s a doozy.
2015-01-20[shadowloader] all the patching we do for ecj are ALL entrypoints and need ↵Roel Spilker
shadowloader treatment. This commit makes it happen.
2014-10-24Making SCL work right is more complicated than it first seemed.Reinier Zwitserloot
Right now the rules are: * _IF_ a class is being loaded, sourced by a lombok-jar originating class, we FIRST search the lombok jar, and if we can’t find it, farm out the job to the originating equinox-side loader. * _IF_ the equinox-side loader attempts to load a class, and it does NOT start with lombok, we don’t interfere and would never serve up any content from the lombok-jar (so if we have deps, they do NOT get loaded, by design). If it DOES start with lombok, we load it, and the loading class is SCL, not the equinox-side loader. * getResource() to load classes did not work (because internally classes end in .SCL.lombok and not .class). This breaks a bunch of things. Fixed by having getResource() be aware that it should try rewriting any request for a .class to .SCL.lombok. * launchified annotationprocessor, and cleaned up the launchified agent, which now, like all other launchers, just sets up classloader stuff and then calls into the lombok loader side to finish the actual processing, instead of trying to do it itself in a handicapped environment that can’t load much.
2014-09-30first take on the shadow classloader. All seems to be in order, but we still ↵Reinier Zwitserloot
have to solve the problem with adding our shadow loader to the equinox infrastructure (solved in lombok currently by adding all of lombok to the bootclasspath), and all the public API still has to be kept as actual class files by build.xml. Currently it is all shadowed away.
2014-05-29#683: URI not absolute errors in mvn builds due to search for lombok.config ↵Reinier Zwitserloot
being broken.
2013-10-10No functional change, but runPostCompiler in eclipse patching is no longer ↵Reinier Zwitserloot
transplanted. It shouldn't matter (runPostCompiler will call lombok.jar code, so if there is a classloader issue, transplanting won't help), and roel thinks it might help debug an issue with Springsource gradle plugin for eclipse.
2013-05-30Fixes for issue 470: VerifyErrors when using @SneakyThrows.Reinier Zwitserloot
2012-10-08Patches ASTNode.setSourceRange; by default it throws ↵Reinier Zwitserloot
IllegalArgumentExceptions in certain cases, but with no message, thus making it very hard to figure out what went wrong. The patch throws the same exceptions in the same cases, but gives the exception a useful error message.
2012-06-18Split out the GUI function into a separate portal. ThoughRobbert Jan Grootjans
the portal itself has lost it's function (Eclipse help is currently failing, but this also seems to be caused by val). Major point though is that the Extention methods functionality works both in javac as in Eclipse.
2012-06-12Port of lombok-pg's @ExtensionMethod support for eclipse. Doesn't work yet.Reinier Zwitserloot
2012-04-23Fix for bug introduced in 48e73a7180ac459d2949e66f2cacc46e08466fce (2 ↵Reinier Zwitserloot
commits ago). isGenerated was being transplanted twice, resulting in a ClassFormatError. NB: This is my fault - transplanting was the only fix I introduced on top of Philipp's work.
2012-04-03fix for rename method arguments, from Philipp Eichhorn.Reinier Zwitserloot
2012-01-16Merge pull request #27 from jvanderhel/Issue_316_Rename_with_multiple_types_IISander Koning
Issue 316 rename with multiple types II
2012-01-101) We now honor the "public" and "abstract" modifier settingsJappe van der Hel
2) Annotations are now handled, but @SuppressWarnings is skipped
2012-01-10"QualifiedName"'s are now also marked as generated during ASTConverter phase ↵Jappe van der Hel
(just like "SimpleName"'s) This fixes "Rename" when inner types are used (for both the main type and the inner type)