aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
AgeCommit message (Collapse)Author
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)
2012-01-09The line about lombok added to the about dialog wasn't working for all ↵Roel Spilker
eclipse releases and ways to boot up eclipse. Now it does. Also added an item for this in the changelog.
2012-01-09Lombok now adds a line about itself to the Eclipse about dialog via ↵Reinier Zwitserloot
patching. This can be used to check that lombok is managing to successfully inject code into the eclipse VM instance.
2012-01-09Code reviewRoel Spilker
2012-01-09MergeRoel Spilker
2012-01-09Updated copyright yearsRoel Spilker
2012-01-03Found some earlier fixes, commented them and put them together in the ↵Jappe van der Hel
patchExtractInterface method
2012-01-03extract interface now also works on inner types and side types (annotated ↵Jappe van der Hel
with @Data) comments for generated methods are now skipped
2012-01-03Extract interface now works when @Data is present.Jappe van der Hel
For all methods even generated by lombok; comments for generated methods are placed above the "managing" annotations @Override for generated methods are skipped (since there is no valid position for this annotation)
2012-01-02trivialReinier Zwitserloot
2012-01-02Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2012-01-02Fixed issue #320: since 0.10.6, lombok didn't work anymore in ecj ↵Reinier Zwitserloot
(ClassNotFoundError).
2011-12-21Extract interface now works when @Data is present.Jappe van der Hel
For all methods even generated by lombok; comments for generated methods are placed above the "managing" annotations @Override for generated methods are skipped (since there is no valid position for this annotation)
2011-12-20Fix for Issue 265, Sort members now works when class has @Data and @Log ↵Jappe van der Hel
annotation
2011-12-13Fix for Issue 315: HandleLogger now sets all its sourcepositions and ↵jvanderhel
generatedBy's. convertToFieldDeclaration now als marks the resulting FieldDeclaration as isGenerated
2011-11-28Merge branch 'Highlighting' of https://github.com/jvanderhel/lombok into ↵Reinier Zwitserloot
jvanderhel-Highlighting Conflicts: src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
2011-11-28Merge branch 'Issue_81' of https://github.com/jvanderhel/lombok into ↵Reinier Zwitserloot
jvanderhel-Issue_81 Conflicts: src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
2011-11-251) Fixed sourceEnds while determining which nodes should be copiedjvanderhel
2) Put the method declaration in the interface instead of the annotation
2011-11-24Syntax and occurrence highlighting now skip generated positionsjvanderhel
2011-11-24Some more save actions fixedjvanderhel