aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok
AgeCommit message (Collapse)Author
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
2012-04-23Replaced the 'try some reflection and if that fails, oh well' code with ↵Reinier Zwitserloot
catch(Throwable) instead of catch(Exception). The whole point is to default to an alternative path is anything goes wrong, and it turns out there are various ways to get Throwables instead of Exceptions.
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-19fixed: @val didn't work with rawtypes in enhanced for loopspeichhorn
2012-04-03fix for rename method arguments, from Philipp Eichhorn.Reinier Zwitserloot
2012-03-19Fix for issue 342: @Deprecated annotation not propagated to generated ↵Roel Spilker
getter/setter
2012-02-25Handle deprecated by ordinary usage.Taiki Sugawara
2012-02-24Add deprecated comment support for eclipse.Taiki Sugawara
2012-02-15'val' is no longer legal in basic for loops now. Fixes issue #346Reinier Zwitserloot
2012-02-11whitespace onlyReinier Zwitserloot
2012-01-24Fix for issue 328: @Delegate on a field for which we also generate a getter ↵Roel Spilker
will use the getter for delegation
2012-01-23Added null-check to prevent errors in eclipse when working on incomplete filesRoel Spilker
2012-01-19Merge branch 'Issue_325' of https://github.com/jvanderhel/lombok into jappeReinier Zwitserloot
2012-01-19@Delegate is no longer legal on static entities (previously no immediate ↵Reinier Zwitserloot
errors but I don't think it would work right anyway), and prettied up the error message when you use @Delegate wrong (on static items or methods with args). Also put back something I accidentally deleted with the previous merge.
2012-01-19Removed unused imports from PatchFixesReinier Zwitserloot
2012-01-19[Issue 275] Allow @Delegate on no-argument methodspeichhorn
2012-01-181) rollback of rollback fixRetrieveRightBraceOrSemiColonPositionJappe van der Hel
2) HandleEqualsAndHashCode now use SetGeneratedByVisitor to ensure "correct" sourcepositions 3) SetGeneratedByVisitor now sets QualifiedNameReference.sourcePositions
2012-01-16Issue 325: revert old behaviour of fixRetrieveRightBrace...Sander Koning
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-16Code reviewSander Koning
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-10removeGeneratedMethods was broken, causing the rename to failJappe van der Hel
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).