aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok
AgeCommit message (Collapse)Author
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-19Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2011-12-19Now the type resolver also finds top-level types in a compilation unit that ↵Reinier Zwitserloot
name-shadow. Added tests for the type resolver.
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-12-08Fix for issue 308: Allows organize imports works with @Delegate Also fixes ↵jvanderhel
errors in eclipse-log when using @Delegate.
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-24Fix for issue 51. We now ignore unchanged generated nodes, so their position ↵jvanderhel
isn't used to determine insertion point
2011-11-24Some more save actions fixedjvanderhel
2011-11-20Additional fix for issue 300: Using 'lombok.val' written out in full would ↵Reinier Zwitserloot
cause ArrayIndexOutOfBoundsException: 0 errors to pop up in the editor. Also updated changelog.
2011-11-20Fixed issue 300: 'lombok.val' (vs. just val and an import statement) didn't ↵Reinier Zwitserloot
fix auto-complete dialogs. However, now the auto-highlight feature will crash with an IOOBE if you click in lombok.val.
2011-11-15Merge branch 'Issue_263' of https://github.com/jvanderhel/lombok into ↵Reinier Zwitserloot
jvanderhel-Issue_263 Conflicts: src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
2011-11-15Merge branch 'Issue_138' of https://github.com/jvanderhel/lombok into ↵Reinier Zwitserloot
jvanderhel-Issue_138 Conflicts: src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
2011-11-13disabling lombok for all postsavelisteners proved to cause some postsave ↵jvanderhel
actions to make the wrong decisions. Patching ControlStatementFinder solves the same problem, with less side effects
2011-11-12patched retrieveRightBraceOrSemiColonPosition && retrieveRightBrace so ↵jvanderhel
method bodies are converted instead of skipped Set Assignment.statementEnd to prevent invalid sourceRange in Statement convert
2011-11-11Lombok generated members are now handled better in a ListRewrite (like ↵jvanderhel
generate equals & hashcode)
2011-11-11MethodDeclarations and their SimpleName(s) are now marked as generated when ↵jvanderhel
using eclipse 3.7 M5 or higher (when appropriate)
2011-11-10Lombok disabled during ast creation in DefaultCodeFormatter & ↵jvanderhel
CleanUpPostSaveListener
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-09-20preparing for an edge release, and updated changelog.Reinier Zwitserloot
2011-09-20Fix for issue #264: use of @Delegate would cause memory leaks in eclipse.Reinier Zwitserloot
2011-09-20Slightly improved error reporting if the PatchValEclipsePortal fails to work.Reinier Zwitserloot
2011-08-16Improve Extract method refactoring: you can extract method for code that ↵Roel Spilker
also contains @SneakyThrows
2011-08-16Removed some leftovers from #164 debugging sessionsRoel Spilker
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-24Merge branch 'i164diag'Reinier Zwitserloot
2011-07-18Fixes issue 232, now we also patch dom.SingleVariableDecls. Fixes val import ↵grootjans
disappearing when organizing imports in Eclipse, when using val in a foreach.
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-06-javaagent:lombok.jar=ECJ should now work to enable lombok in any ecj-based ↵Reinier Zwitserloot
tool including ecj itself.
2011-05-30Removed the ability of lombok to run as ecj annotation processor, becauseReinier Zwitserloot
it won't actually work right; method-level generics would break. The new way is to use -javaagent:lombok.jar=ECJ in addition to -cp lombok.jar
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.
2011-05-16Whoops - previous commit has a grievous error in it. My bad. Fixed now.Reinier Zwitserloot
2011-05-16Split up PatchVal into the ecj and eclipse bits; in ecj you'd just get ↵Reinier Zwitserloot
NoSuchClassErrors.
2011-05-03Changed how @Delegate works in ecj - methods already present do NOTReinier Zwitserloot
preclude them from being generated, which means you get duplicate method errors. excludes=Types has been added to counteract this. Once we figure out how to resolve method sigs out of order we can go back to the original plan.
2011-03-28Now delegating classes defined in the same project works.Reinier Zwitserloot
At this revision, you can easily and reliably reproduce issue #164 by creating a loop (A delegates B and B delegates A).
2011-02-07Removed a debug print.Reinier Zwitserloot
2011-01-02Should fix issue #175, where annotations mysteriously appear to be copied to ↵Reinier Zwitserloot
the methods generated by them.
2010-12-31Resolve-phase transformers in eclipse need to force a rebuild of the ↵Reinier Zwitserloot
EclipseAST object. Fixes issue #171
2010-12-28Using @Delegate to add a varargs method now works in eclipse (the varargs ↵Reinier Zwitserloot
nature of the method is preserved).
2010-12-24Added detection of type var naming conflicts to eclipse's @Delegate support.Reinier Zwitserloot
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-22@Delegate in eclipse works when delegating parameterized types now, and will ↵Reinier Zwitserloot
use the parameter names if the delegated element is a source (vs. class) dependency.
2010-12-01Parameter names are now 'arg0', 'arg1', etc, unless the delegated type is ↵Reinier Zwitserloot
source, then the name is copied over. Compared to javac, this means eclipse's @Delegate does NOT use debug symbols, which we'll have to fix later (We checked out how to do it, and it seems virtually impossible).