Roel Spilker
8e24e2e123
Added tests for this() call in SneakyThrows (issue 381)
2012-06-25 22:37:05 +02:00
Philipp Eichhorn
8fb4f79757
[Issue 381] @SneakyThrows respects constructor calls
2012-06-24 20:38:00 +02:00
Roel Spilker
37cbe2d3f9
Fix for issue 376 for Eclipse
2012-06-18 23:38:02 +02:00
Roel Spilker
0a53be1d3e
Updated test files for getter-lazy on boolean fields.
2012-06-18 23:38:01 +02:00
Roel Spilker
6355ca8e5e
Created testcase for i376
2012-06-18 23:38:00 +02:00
Roel Spilker
68ca159867
Added tests for delegating recursively: issue 305
2012-04-30 00:23:33 +02:00
Roel Spilker
25def866b5
Issue 366: don't call the getter twice, fixed for Eclipse.
2012-04-29 23:57:48 +02:00
Roel Spilker
5a13db5dc9
Issue 366: don't call the getter twice, fixed for javac.
2012-04-29 23:57:47 +02:00
peichhorn
3f408782de
fixed: @val didn't work with rawtypes in enhanced for loops
2012-04-19 02:41:31 +02:00
Roel Spilker
b041b355d6
Added tests for issue 358
2012-04-02 20:47:33 +02:00
Reinier Zwitserloot
e98d226cfb
Added full test suite for @Accessors, as well as the new rules for whether or not a method is already there so lombok shouldn't generate it (now number of parameters matters), and added generics testing to RequiredArgsConstructor's static constructor feature.
2012-03-26 23:49:39 +02:00
Reinier Zwitserloot
7ddafc0fe5
delombok now prints a space in between method type args and return type.
2012-03-26 23:48:46 +02:00
Reinier Zwitserloot
7569969e25
In delombok mode, @Accessors is now eliminated from your source files.
2012-03-26 23:48:00 +02:00
Reinier Zwitserloot
eb3250a2fa
Finished work on @Accessors
2012-03-26 21:57:24 +02:00
Roel Spilker
8bc82cad05
Fix for issue 342: @Deprecated annotation not propagated to generated getter/setter
2012-03-19 23:18:37 +01:00
Robbert Jan Grootjans
d39623693b
Merge branch 'master' of github.com:rzwitserloot/lombok
...
Conflicts:
doc/changelog.markdown
2012-03-05 21:12:39 +01:00
Robbert Jan Grootjans
f1e679471d
PrettyCommentsPrinter now prints default clause of annotation methods. Fixes Issue #350
2012-03-05 21:11:19 +01:00
Taiki Sugawara
821370e01b
Add deprecated comment support for eclipse.
2012-02-24 23:55:02 +09:00
Taiki Sugawara
c63d036e78
Remove spaces in after files.
2012-02-24 22:56:42 +09:00
Taiki Sugawara
c809047b78
support delegate with deprecated comment.
2012-02-22 05:01:35 +09:00
Reinier Zwitserloot
0f86101098
Couple more tests for val
2012-02-15 04:45:28 +01:00
Reinier Zwitserloot
9a50da2d09
ecj tests and eclipse tests are now effectively doing the same thing, except the ecj tests are written in a slightly more close-to-reality way, and do work for 'val'. eclipse test aspect removed.
2012-02-14 17:11:15 +01:00
Reinier Zwitserloot
06581537f2
More test files, test files updated to be valid java, and ecj test now goes through the complete compile process. This means val and @Delegate testing is now enabled.
...
TODO: Update -eclipse tests.
2012-02-14 16:39:48 +01:00
Roel Spilker
bf8b93701a
Added test for @Getter(AccessLevel.NONE)
2012-01-24 03:07:14 +01:00
Roel Spilker
2242de2bf9
Fix for issue 328: @Delegate on a field for which we also generate a getter will use the getter for delegation
2012-01-24 02:52:13 +01:00
peichhorn
87cca2d322
[Issue 275] Allow @Delegate on no-argument methods
2012-01-19 00:44:47 +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
Reinier Zwitserloot
3b921ad7f6
Fix for issue 299: labels would break 'val' in javac.
2011-11-20 19:04:31 +01: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
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
Roel Spilker
2fcfc4c3dc
Fixed unit tests to take into account work on issue 289 and 287.
2011-11-01 00:53:21 +01:00
peichhorn
2d39470469
[Issue 281] added test
2011-10-07 21:40:33 +02:00
peichhorn
236c88fc5c
fixed Issue 271: @NotNull annotations should introduce a null check
2011-09-05 21:53:58 +02:00
Roel Spilker
a284600987
Removed support for onMethod, onParam and onConstructor due to javac7 type incapabilities. Issue #251
2011-08-15 21:21:51 +02:00
Reinier Zwitserloot
4ff39e5770
Added some forgotten copyright headers
2011-08-02 03:57:53 +02:00
Roel Spilker
4dfa3b7004
There's now 1 test suite that runs all tests, and 'ant eclipse' will make a launch config that adds the appropriate -javaagent VM param to ensure the runWithEclipse tests work.
2011-07-18 21:11:37 +02:00
Roel Spilker
83e2fb5e00
Now either all or none of equals/hashCode/canEqual is generated. Fixes issue 240.
2011-07-18 21:05:00 +02:00
Philipp Eichhorn
476b198f16
Allow "before" to be used as a source-package for eclipse tests (see LoggerSlf4jWithPackage).
2011-06-05 22:14:50 +02:00
peichhorn
850c3eaf07
Added a test infrastructure that simulates eclipse with diet-parse, type-binding and so forth. Similar to eclipse, the test needs to be executed with lombok as vm-agent. @Delegate runs with this setup, sadly val does not, at least for now.
...
And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj.
2011-06-01 02:44:53 +02:00
peichhorn
daf84dd00e
HandleDelegate did not remove the annotation @Delegate from javac's AST, so HandleDelegate was called multiple times for the same field resulting in an error saying the delegate method was already defined.
...
Also added a test for @Delegate that uncovered this issue.
2011-05-30 21:26:45 +02:00
Reinier Zwitserloot
04e9397971
Rewritten @Cleanup's new null analysis prevention to not use
...
Lombok.preventNullAnalysis but go with Collections.singletonList(expr).get(0)
instead; while this does create a pointless object, it doesn't cause a clash
when eclipse has lombok 0.10 installed but the project uses 0.9, which doesn't
have preventNullAnalysis. Eventually, once 0.9 is long forgotten, this can be reverted.
2011-03-18 19:30:02 +01:00
grootjans
ed4068d842
Added a number of test for AllArgsConstuctor, RequiredArgsConstructor, NoArgsConstructor annotations and added a test for issue: 172
2011-02-14 22:53:08 +01:00
Reinier Zwitserloot
b15bcb09e9
Added test to confirm behaviour of @RequiredArgsConstructor, @ToString, and @Getter on enums.
2011-02-07 23:21:15 +01:00
Reinier Zwitserloot
30b63deaff
Testcases updated with new behaviour of @Getter/@Setter on booleans.
2011-02-07 21:35:34 +01:00
Reinier Zwitserloot
41a85d2814
Some of the tests weren't succeeding (and haven't for a while now) since fixing the bug where lombok will call equals(SomeSpecificType) instead of equals(Object) from data. This commit rectifies this by updating the tests.
2011-01-17 23:57:11 +01:00
Roel Spilker
b0072a17eb
lombok.val import now gets removed. Only adding lombok.val flags the compilation unit as changed.
2010-11-29 22:43:44 +01:00
Roel Spilker
f258229b88
- Renamed the diverse @Log annotations to give them distinct names
...
- Removed the option to specify a different class to log on
- Updated tests and documentation
2010-11-22 23:52:34 +01:00
Roel Spilker
3f00e7c905
@Getter(lazy=true) now also works in Eclipse
2010-11-11 05:55:15 +01:00
Roel Spilker
ddf54dcfae
Merge branch 'master' into lazyinit
...
Conflicts:
src/core/lombok/javac/handlers/HandleGetter.java
2010-11-11 02:03:38 +01:00