aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent
AgeCommit message (Collapse)Author
2016-11-21Merge branch 'feature/var' of https://github.com/bulgakovalexander/lombok ↵Roel Spilker
into bulgakovalexander-feature/var
2016-11-12imports expanded, idents alignedBulgakov Alexander
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-10-26The @var annotation has been moved to the experimental package.Bulgakov Alexander
Added a test of a @var variable with null initialization.
2016-10-24added supporting of @var variables. The @var annotation has the same ↵Bulgakov Alexander
functionality as the @val except 'final' modifier.
2016-06-29Potential solution for issue #913Roel Spilker
2016-06-28trivialRoel Spilker
2016-06-28[i913] Prevent NPE in PatchDelegate when binding.scope is nullRoel Spilker
2015-11-22[Fixes #970] Eclipse would generate some internal IDE errors if using ↵Reinier Zwitserloot
‘val’ on invalid expressions. This fixes one such case.
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-05-02https-ified links on the site.Reinier Zwitserloot
2015-05-02Somehow in eclipse mars wanted us to pull in more ecj deps, fixed that ↵Reinier Zwitserloot
problem with a trivial code tweak.
2015-05-02Change http://projectlombok.org to https://projectlombok.orgRoel Spilker
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-03-31We are getting some reports that might indicate there’s a race condition ↵Reinier Zwitserloot
in loading shadowclassloader. This should fix that.
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-21[i742][i747] Fix for ExtensionMethod broken in Eclipse using java8Roel Spilker
2015-01-21the previous basic for fix didn't really work, this one is better.Roel Spilker
2015-01-21Fix for erroneous use of val in basic fors.Reinier Zwitserloot
2015-01-21* Fixed running ecj tests within eclipseReinier Zwitserloot
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-12-04fix for lombok not compiling if JDK8’s javac is used as default compiler.Reinier Zwitserloot
2014-10-29[shadowloader] simple bugfix; shadowloader wasn’t working in luna.Reinier Zwitserloot
2014-10-28Installer updated to no longer add -Xbootclasspath.Reinier Zwitserloot
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-06-05addendum to previous commit; found hardcoded reference to an added field and ↵Roel Spilker
it is safer to now use the augment class to access that field.
2014-06-05Finished refactor of FieldAugment; there's no longer a separate variant for ↵Roel Spilker
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.
2014-05-29#683: URI not absolute errors in mvn builds due to search for lombok.config ↵Reinier Zwitserloot
being broken.
2014-05-21Added an error if @Delegate is used recursively.Reinier Zwitserloot
2014-05-08[java8] don't crash on intersection typesRoel Spilker
2014-04-01all usage of sneakyThrow is now throw sneakyThrow as it should be.Reinier Zwitserloot
2014-03-17[#590][refactor] Fix for deadlock in WeakHashMap. Refactored all code that ↵Roel Spilker
used a WeakHashMap to fake a field.
2014-02-27Fixed some issues when using lambda expressions in eclipse using the beta ↵Reinier Zwitserloot
JDK8 support plugin for Kepler.
2014-02-20[suspect:eclipse] Fix for issue 633: refactor script 'extract local ↵Roel Spilker
variable' did not work inside for example SneakyThrows-protected methods. This fix is reverting the change in e835daa9. During conversion of the internal.ast to the dom AST, a flag is introduced named 'ORIGINAL'. Commit e835daa9 always explicitly cleared it for all lombok-generated nodes, in an attempt to try and do the appropriate thing, treating the ORIGINAL flag as a simile for 'generated code'. Unfortunately, for eclipse code analysis, all our generated code should be treated as if it's "really" there, and in general this doesn't work because eclipse's concept of 'generated' applies to explicit super() calls and the like, not the kind of stuff lombok introduces.
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
2013-04-23added support for lombok.disablePostCompiler.Reinier Zwitserloot
2013-03-12Fix for issue #436: In eclipse, calling i.e. `list.get(i).extensionMethod()` ↵Reinier Zwitserloot
would fail with VerifyError when that code is executed in eclipse.
2012-10-23Fix for NPEs in the eclipse log forReinier Zwitserloot
org.eclipse.jdt.internal.compiler.lookup.MethodBinding.sourceMethod(MethodBinding.java:1108)
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-08-13Fix for issue 401: test(), Object.test(), and super.test() were all allowed ↵Reinier Zwitserloot
in eclipse for @ExtensionMethod, resulting in VerifyErrors in the emitted class files.
2012-07-05fixed stupid memleak in PatchExtensionMethod.. sorry my bad..Philipp Eichhorn
2012-06-24ExtensionMethod didn't work for primitive types in eclipse..Philipp Eichhorn
this has been fixed
2012-06-18Fixed Help Content in Eclipse / ecj support.Robbert Jan Grootjans
- Moved Completion proposal code to the PatchExtensionMethodCompletionProposal class - Moved out error reporting from EclipseAST. - Fixed error reporting of the portals.
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