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
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
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
Sander Koning
3e18007af3
Update warning about @SneakyThrows requiring lombok.jar on the classpath ( #306 )
2011-12-05 22:51:37 +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
Reinier Zwitserloot
dc92425f85
Merge branch 'Issue_263' of https://github.com/jvanderhel/lombok into jvanderhel-Issue_263
...
Conflicts:
src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
2011-11-15 14:22:46 +01:00
Reinier Zwitserloot
1cdd42ac10
Merge branch 'Issue_138' of https://github.com/jvanderhel/lombok into jvanderhel-Issue_138
...
Conflicts:
src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
2011-11-15 14:11:15 +01:00
Reinier Zwitserloot
f3253a73c2
Merge pull request #11 from jvanderhel/add_to_authors
...
Jappe van der Hel addes his name to AUTHORS.
2011-11-15 04:57:05 -08:00
Reinier Zwitserloot
68c38e93e6
Merge pull request #10 from jvanderhel/Issue_90
...
Proposed fix for issue 90 - disables lombok when the AST is being parsed for an autoformatter run, and patches various methods of the ControlStatementFinder to not try to find generated nodes.
2011-11-15 04:56:28 -08:00
peichhorn
0d75d56fce
Eclipse/JavacHandlerUtil.injectField(...) inserts the new fields after the enum constants.
...
Also the new fields are ordered in the same way the method injectField() gets invoked.
2011-11-13 09:06:57 +01:00
jvanderhel
fd736cc76f
disabling lombok for all postsavelisteners proved to cause some postsave actions to make the wrong decisions.
...
Patching ControlStatementFinder solves the same problem, with less side effects
2011-11-13 00:24:36 +01:00
jvanderhel
5cc928f471
patched retrieveRightBraceOrSemiColonPosition && retrieveRightBrace so method bodies are converted instead of skipped
...
Set Assignment.statementEnd to prevent invalid sourceRange in Statement convert
2011-11-12 19:13:28 +01:00
jvanderhel
b43cd35093
Lombok generated members are now handled better in a ListRewrite (like generate equals & hashcode)
2011-11-11 20:47:14 +01:00
jvanderhel
9c469dc72a
MethodDeclarations and their SimpleName(s) are now marked as generated when using eclipse 3.7 M5 or higher (when appropriate)
2011-11-11 20:47:05 +01:00
jvanderhel
2a20f97243
Added my name to AUTHORS. (Requested by rspilker)
2011-11-11 00:07:21 +01:00
jvanderhel
1950820d35
Lombok disabled during ast creation in DefaultCodeFormatter & CleanUpPostSaveListener
2011-11-10 23:52:38 +01:00
Reinier Zwitserloot
fb4d2a45d2
Fixed a broken link in changelog.
2011-11-09 16:15:37 +01:00
Roel Spilker
9433db4ecd
Don't wrap code in documentation
2011-11-07 22:04:42 +01:00
Roel Spilker
e78fa98daa
Replaced <code> with @code
2011-11-07 22:04:41 +01:00
Roel Spilker
45f9e9def1
Changed copyright notices
2011-11-07 22:04:40 +01:00
Robbert Jan Grootjans
88a83e08a9
Fixed eclipse and ecj unit test broken by 99e36bf51c
2011-11-07 21:51:12 +01:00
Robbert Jan Grootjans
acb5339c62
Instead of using the java 1.6 Arrays.copyOf method, we use System.arraycopy.
2011-11-07 20:56:53 +01:00
Robbert Jan Grootjans
dddeaf24c7
Merge branch 'master' of github.com:rzwitserloot/lombok
2011-11-07 20:48:39 +01:00
Robbert Jan Grootjans
99e36bf51c
Fixed issue 295: Using log in static initializers
2011-11-07 20:47:45 +01:00
Roel Spilker
0fbe56a592
Renamed CONTRIBUTORS to AUTHORS to better reflect the purpose of the file.
2011-11-07 20:45:06 +01:00
Roel Spilker
0bf6527591
Added my name to the contributors file.
2011-11-07 20:22:17 +01:00
Roel Spilker
e8495f0ddc
Post-release version bump
2011-11-01 01:00:02 +01:00
Roel Spilker
2fcfc4c3dc
Fixed unit tests to take into account work on issue 289 and 287.
2011-11-01 00:53:21 +01:00
Roel Spilker
58f0117d20
Added fixing of delombok sourcepath issue to changelog and preparing for 0.10.2 release.
2011-11-01 00:19:13 +01:00
Roel Spilker
a9f334fde9
Fixed issue 284 now also for java7, introduced more stubbing
2011-11-01 00:13:22 +01:00