Commit Graph
1058 Commits
Author SHA1 Message Date
Jappe van der Hel 207edfbc7f Extract interface now works when @Data is present.
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-03 18:55:17 +01:00
Reinier Zwitserloot 8fb7c9c8a2 trivial 2012-01-02 20:33:42 +01:00
Reinier Zwitserloot ba680ad97a Merge branch 'master' of github.com:rzwitserloot/lombok 2012-01-02 20:30:56 +01:00
Reinier Zwitserloot 7d0b13024d Fixed issue #320: since 0.10.6, lombok didn't work anymore in ecj (ClassNotFoundError). 2012-01-02 20:30:48 +01:00
Roel Spilker 6c9b3d54de Merge pull request #23 from jvanderhel/Fix_Issue265
Fix for issue 265, @Data and @Log together
2012-01-02 11:05:45 -08:00
Roel Spilker 6f4f053cc5 Merge pull request #22 from jvanderhel/Fix_SetGeneratedByVisitor
Use newSourceEnd for sourceEnd calculation
2012-01-02 10:11:14 -08:00
Jappe van der Hel 02d7e29dd9 Fix for Issue 265, Sort members now works when class has @Data and @Log annotation 2011-12-20 23:45:40 +01:00
Jappe van der Hel 0a8794355f Use newSourceEnd for sourceAnd calculation 2011-12-20 19:59:59 +01:00
Reinier Zwitserloot 5ac9044224 Moved Asm utils out of utils and into core, because utils isn't supposed to have an asm dependency and now due to lacking the jarjar treatment all sorts of VerifyError hell breaks loose if you put both lombok.jar and lombok-utils.jar of 0.10.6 in the classpath while compiling with javac. 2011-12-20 06:01:58 +01:00
Reinier Zwitserloot 96282212db fixed publishing of the lombok-utils jar to the server 2011-12-19 23:39:11 +01:00
Reinier Zwitserloot cd4266aa95 post-release version bump 2011-12-19 23:37:08 +01:00
Reinier Zwitserloot 2d0d4e75f0 bumping version number pending official release of 0.10.6 2011-12-19 23:27:59 +01:00
Reinier Zwitserloot 102752a87b Added building lombok-utils to build file. 2011-12-19 23:16:40 +01:00
Reinier Zwitserloot ab3d3ea0a4 Merge branch 'master' of github.com:rzwitserloot/lombok 2011-12-19 21:42:12 +01:00
Roel Spilker de1bc3524f Updated changelog 2011-12-19 21:29:24 +01:00
Roel Spilker 76c45bc482 Merge branch 'Issue_315' of https://github.com/jvanderhel/lombok into jvanderhel-Issue_315 2011-12-19 20:56:21 +01:00
Roel Spilker 0234039bab Removed statics and lots of parameters, reimplemented recalcSourcePosition 2011-12-19 20:50:23 +01:00
Roel Spilker 75179dfb41 Merge branch 'Issue_308' of https://github.com/jvanderhel/lombok into jvanderhel-Issue_308 2011-12-19 20:43:35 +01:00
Reinier Zwitserloot b25a644f50 Merge branch 'typeLibrary' 2011-12-19 20:10:39 +01:00
Reinier Zwitserloot ae87a26456 Now the type resolver also finds top-level types in a compilation unit that name-shadow. Added tests for the type resolver. 2011-12-19 20:09:40 +01:00
Roel Spilker 232d5edc35 Merge pull request #18 from jvanderhel/master
Fix for renaming class using Alt+Shift+R (Issue 286 variant)
2011-12-19 10:25:29 -08:00
Reinier Zwitserloot e7020a0da0 Added changelog entry for previous commit (fixing #242 - memory leaks in netbeans) 2011-12-15 13:09:18 +01:00
Robbert Jan Grootjans 306a9efef5 Generated nodes are now cached using a fully-weak Map.
Should hopefully fix Netbeans performance issue #242. Compared heap
dump pre and post-fix, seems to work.
2011-12-15 13:04:45 +01:00
Reinier Zwitserloot 6b91620d9e Refactored the type resolver, and made the 'find locally named classes that shadow' feature way better; previously it would only find very few locally named classes (your own class and any parent outers, that was it, no siblings). 2011-12-13 06:26:40 +01:00
jvanderhel 71c48fb991 Fix for Issue 315: HandleLogger now sets all its sourcepositions and generatedBy's. convertToFieldDeclaration now als marks the resulting FieldDeclaration as isGenerated 2011-12-13 00:32:48 +01:00
Roel Spilker 6ccec72c7e Copy LICENSE and AUTHORS to runtime jar 2011-12-12 23:55:30 +01:00
Reinier Zwitserloot 1ea6c0607e Added AUTHORS file to lombok.jar distributable. 2011-12-12 23:35:12 +01:00
Reinier Zwitserloot d713dab0c3 Renamed Comment to CommentInfo. 2011-12-12 23:24:58 +01:00
jvanderhel b476825fc7 Fix for issue 308: Allows organize imports works with @Delegate Also fixes errors in eclipse-log when using @Delegate. 2011-12-08 20:55:39 +01:00
Sander Koning 3e18007af3 Update warning about @SneakyThrows requiring lombok.jar on the classpath (#306) 2011-12-05 22:51:37 +01:00
jvanderhel 6a13685d5c Added missing setGeneratedBy on TypeReference (prevented a rename of class with @Data/@EqualsAndHashCode on it using Alt+Shift+R) 2011-11-29 21:20:14 +01:00
Reinier Zwitserloot c502ec24bb Added changelog notes for previous fixes, issues 51 and 301) 2011-11-28 19:48:39 +01:00
Reinier Zwitserloot a5c7d134c1 Merge branch 'Highlighting' of https://github.com/jvanderhel/lombok into jvanderhel-Highlighting
Conflicts:
	src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
2011-11-28 19:15:34 +01:00
Reinier Zwitserloot aaf3101393 Merge branch 'Issue_81' of https://github.com/jvanderhel/lombok into jvanderhel-Issue_81
Conflicts:
	src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
2011-11-28 19:13:27 +01:00
Reinier Zwitserloot 6d6a191c67 Merge pull request #15 from jvanderhel/Issue_51
Proposed fix for Issue 51 and 301
2011-11-28 10:09:00 -08:00
Reinier Zwitserloot eb8af8128d Merge pull request #14 from jvanderhel/Eclipse_getter_errors
Added some more statementEnds to avoid errors in eclipse log
2011-11-28 10:07:50 -08:00
jvanderhel 53ce4f6178 1) Fixed sourceEnds while determining which nodes should be copied
2) Put the method declaration in the interface instead of the annotation
2011-11-25 21:22:24 +01:00
jvanderhel 4e831b05ec Syntax and occurrence highlighting now skip generated positions 2011-11-24 21:31:38 +01:00
jvanderhel 20b729509f Fix for issue 51. We now ignore unchanged generated nodes, so their position isn't used to determine insertion point 2011-11-24 21:02:50 +01:00
jvanderhel 088f7bfbba Some more save actions fixed 2011-11-24 21:01:09 +01:00
jvanderhel d3b9074f86 Added some more statementEnds to avoid errors in eclipse log 2011-11-22 19:49:01 +01:00
Reinier Zwitserloot 2cb61b6a89 post release version bump 2011-11-22 00:01:45 +01:00
Reinier Zwitserloot 09e472b047 release versioning prep 0.10.4 2011-11-21 23:55:05 +01:00
Reinier Zwitserloot e24ac22aaa Made an API for creating a (oracle javac) JavaCompiler which tracks comments on a per Compilation Unit basis. The old way involved making reflective calls and detecting whether you need the 1.6 or the 1.7 variant to do this. These shenanigans are now hidden behind a nice API (lombok.javac.CommentCatcher). 2011-11-21 23:53:00 +01:00
Reinier Zwitserloot 3fd3ca32a6 --print option with multiple input files would only print one file. 2011-11-21 23:48:46 +01:00
Reinier Zwitserloot ef820d8d5a Additional fix for issue 300: Using 'lombok.val' written out in full would cause ArrayIndexOutOfBoundsException: 0 errors to pop up in the editor.
Also updated changelog.
2011-11-20 21:56:04 +01:00
Reinier Zwitserloot 246b4cc2bc Fixed issue 300: 'lombok.val' (vs. just val and an import statement) didn't fix auto-complete dialogs.
However, now the auto-highlight feature will crash with an IOOBE if you click in lombok.val.
2011-11-20 19:20:34 +01:00
Reinier Zwitserloot 0139c62b6a Added changelog for previous commit (fixing issue 299) 2011-11-20 19:07:01 +01:00
Reinier Zwitserloot 3b921ad7f6 Fix for issue 299: labels would break 'val' in javac. 2011-11-20 19:04:31 +01:00
Reinier Zwitserloot 52ee15bdc1 Added fixing of issues 90, 138, 263, 286 to changelog. (all jvanderhel's work) 2011-11-15 14:57:03 +01:00