Commit Graph
53 Commits
Author SHA1 Message Date
Reinier Zwitserloot dd18f63ee5 Fix for issue 396: Static constructors generated for classes with type parameters did not work in javac. 2012-07-17 00:15:40 +02:00
Reinier Zwitserloot a382c21d46 fixed issue 391: Using 'staticConstructor' on @Data whilst an @XxxArgsConstructor is present means it gets ignored, but until now lombok didn't warn you about this. 2012-07-16 23:18:58 +02:00
Reinier Zwitserloot e642150998 Updated tests to reflect changes to delombok (delombok now kills super(), because attrib adds them even in places where that's wrong).
Also split up the SynchronizedName test into separate cases for each expected failure mode.
2012-07-16 22:04:39 +02:00
Reinier Zwitserloot c09481eb8e Added tests for @ExtensionMethod 2012-07-16 21:05:48 +02:00
Roel Spilker eb22b3fe05 Added tests to make sure issue 385 is not caused by a simple bug regarding enums 2012-07-02 22:18:18 +02:00
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 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 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 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 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 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
peichhornandReinier Zwitserloot 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
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
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
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
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
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
Roel Spilker 1c32333249 @Getter(lazy=true) support for javac 2010-11-11 01:58:48 +01:00
Reinier Zwitserloot 40b76b5046 Merge branch 'fixDelombok' 2010-11-10 22:20:08 +01:00
Reinier Zwitserloot 632027249b All tests pass! - The test framework has been updated a bit to fit with the new way delombok works. 2010-11-10 22:19:46 +01:00
Roel Spilker fe7f0db2fc From now on it is possible to specify annotations to be placed on the method
or the parameter of the generated getter/setter methods.
2010-11-10 01:44:04 +01:00
Roel Spilker 6e5acaca49 Added support for canEquals in javac 2010-11-08 02:57:01 +01:00
Roel Spilker 1f0db1191a Use the actual annotation value to process the @Log annotations instead of their String representations. 2010-11-07 02:49:01 +01:00
Roel Spilker 8e7334a505 Updated documentation on @Log and moved them all to lombok.extern.* 2010-11-06 23:29:43 +01:00
Roel Spilker c3eddf66cf Added support for Log4J, Commons and JUL in the javac handler 2010-11-06 13:30:22 +01:00
Roel Spilker f6b60b0cae Intial support for @Log, for now only slf4j 2010-11-03 02:13:28 +01:00
Reinier Zwitserloot f1cf083890 val in java, including tests and javac resolution utilities. 2010-11-03 00:42:58 +01:00
Reinier Zwitserloot 83b4dd8613 Added test case for issue #136: @Getter or @Setter on a static field fails to compile. 2010-07-28 18:48:52 +02:00
Roel Spilker acb0e52bc0 Do not generate @ConstructorProperties for method-local classes 2010-07-25 01:49:58 +02:00