Commit Graph
745 Commits
Author SHA1 Message Date
Reinier Zwitserloot 415bc490dc Merge branch 'master' of github.com:rzwitserloot/lombok 2010-11-15 20:05:04 +01:00
Reinier Zwitserloot 80982cc9d6 Added copyright notices to PatchVal and PatchDelegate [trivial] 2010-11-15 19:16:42 +01:00
Reinier Zwitserloot ee560cc7fa eclipse @Delegate: Whoops; earlier fixes meant methods that existed explicitly in multiple supertypes got added that many times, resulting in duplicate method errors. Fixed. 2010-11-15 00:10:26 +00:00
Roel Spilker 1c2556b1f7 In javac, use ListBuffer to append 2010-11-15 00:44:16 +01:00
Reinier Zwitserloot d44421dada eclipse: @Delegate now no longer generates methods that you already wrote. 2010-11-14 13:43:17 +00:00
Reinier Zwitserloot fa0a027853 Removed the brainfart where final methods aren't delegated. 2010-11-14 12:17:38 +00:00
Reinier Zwitserloot 9921778f97 Merge branch 'master' of github.com:rzwitserloot/lombok 2010-11-14 12:07:51 +00:00
Reinier Zwitserloot a3765dd30a eclipse: methods with their own type variables can now be delegated.
eclipse: local classes can now be delegated.
eclipse: source position of delegated methods are now set properly.
cleaned out a bunch of debug helpers.
2010-11-14 12:06:42 +00:00
Roel Spilker 339efa00c6 Added meta-annotations 2010-11-14 12:37:15 +01:00
Roel Spilker 936a3e9edb Make @AnyAnnotation illegal to use 2010-11-14 12:37:03 +01:00
Reinier Zwitserloot d11e6e3115 Moved patch code specific to val and delegate to their own class.
@Delegate in eclipse works pretty much exactly as designed at this point!
2010-11-14 03:42:33 +00:00
Reinier Zwitserloot 2ae0341a3f Jiggered the hook point a bit for eclipse 'delegate' support and it looks like this might just work. 2010-11-13 20:21:25 +00:00
Reinier Zwitserloot b30f8e351b Merge branch 'master' into delegate 2010-11-11 18:04:00 +01:00
Reinier Zwitserloot 6c6f4c4642 Mostly fruitless work on making delegate work in eclipse. 2010-11-11 16:18:18 +01:00
Roel Spilker 3f00e7c905 @Getter(lazy=true) now also works in Eclipse 2010-11-11 05:55:15 +01:00
Roel Spilker a9113718ae Set generated on all created ASTNodes 2010-11-11 05:54:42 +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 eae3e45ae7 trivial - removed some unused imports 2010-11-11 00:45:31 +01:00
Reinier Zwitserloot a0847b4c38 Tests were failing due to a bug in the compare error output part of the test runner. 2010-11-10 23:48:30 +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
Reinier Zwitserloot 2495668131 Delombok has been fixed to work more like a true javac run now. As a result, its now compatible with resolution again (i.e. resolution based transformers are applied correctly when delomboking). 2010-11-10 22:19:26 +01:00
Reinier Zwitserloot 5b5a3713e2 Fix for javac: 'val x = null;' is now valid, and results in x being of type Object. 2010-11-10 22:18:07 +01:00
Roel Spilker c8774389e7 Made AnyAnnotation deprecated 2010-11-10 20:38:42 +01:00
Roel Spilker 3d4b27d6d2 Merge branch 'master' into annoGetSet
Conflicts:
	src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
2010-11-10 01:52:07 +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
Reinier Zwitserloot 2bc8ad4dfd 'val' now fully works on javac, even when referring to lombok-generated code, by (ab)using the annotation processor's round system. This breaks delombok though. That'll have to be fixed next. 2010-11-10 01:27:00 +01:00
Reinier Zwitserloot d02a0f823f deleted netbeans agent. With the new resolution features it'll never work, and netbeans has supported lombok as a plain annotation processor for quite a while now. 2010-11-10 00:32:56 +01:00
Reinier Zwitserloot 63519f9ae6 Undone something that'll never work anyway 2010-11-10 00:24:24 +01:00
Reinier Zwitserloot cbbb54a133 Merge branch 'master' into javaChickenAndEgg 2010-11-09 23:53:57 +01:00
Reinier Zwitserloot 57de0c3f66 EqualsAndHashCode no longer worked right when working on a class with 0 fileds. Fixed. Thanks to Philipp Eichhorn for spotting this problem! 2010-11-09 23:53:21 +01:00
Reinier Zwitserloot 186b16c28c EqualsAndHashCode no longer worked right when working on a class with 0 fileds. Fixed. Thanks to Philipp Eichhorn for spotting this problem! 2010-11-09 23:52:54 +01:00
Reinier Zwitserloot c88ae3af74 Merge branch 'master' into javaChickenAndEgg
Conflicts:
	src/core/lombok/javac/handlers/HandleCleanup.java
2010-11-09 21:32:40 +01:00
Reinier Zwitserloot 16f992c5ad Due to an evident screwup at github.com about their https certs, downloads from there no longer work. Moved the ivy target for cmdreader to a file hosted on projectlombok.org To fix it. Thanks to Stephen Haberman for spotting the problem. 2010-11-09 21:29:08 +01:00
Reinier Zwitserloot 46d471e9c3 Merge branch 'master' into annoGetSet 2010-11-09 20:37:25 +01:00
Reinier Zwitserloot 0951ea38fe Experiment to try and make java 'self referential' by deleting the Enter and MemberEnter state. So far it doesn't work yet. 2010-11-09 20:35:34 +01:00
Reinier Zwitserloot 04d041a7dc Delegate annotation 2010-11-09 20:32:47 +01:00
Roel Spilker a94243e062 Added lombok.Lombok.preventNullAnalysis to the null test in @Cleanup to suppress
warnings about variables that cannot be null
2010-11-09 00:37:06 +01:00
Reinier Zwitserloot 98d8a9f63b 'val' didn't work on ecj/eclipse when referring to types in the default package. fixed. 2010-11-09 00:15:35 +01:00
Reinier Zwitserloot 956165cc8a reverted the deletion of SneakyThrowsDependencyInfo. It's still a runtime dependency for delombok users. 2010-11-08 23:36:43 +01:00
Reinier Zwitserloot 844414768c Ran into a one-off, non-repeatable problem involving arguments not binding correctly. Just in case its our fault, added some extra code to not even attempt any 'val' shenanigans in method arguments (which are LocalDeclaration subclasses). 2010-11-08 23:27:31 +01:00
Reinier Zwitserloot 93e38f9024 Updated to lombok.patcher, which basically only means that the "PATCHING: ..." prints to system.out are gone. 2010-11-08 23:26:52 +01:00
Reinier Zwitserloot cc60afa1eb 'val' now also works in foreach loops, on both javac and ecj / eclipse. 2010-11-08 22:52:07 +01:00
Roel Spilker dee834a397 Added support for canEqual in ecj 2010-11-08 22:00:06 +01:00
Roel Spilker 616ef8581f Add diverse logging frameworks for the tests. 2010-11-08 20:10:43 +01:00
Reinier Zwitserloot c318bb7a0a Merge branch 'master' of github.com:rzwitserloot/lombok 2010-11-08 18:02:01 +01:00
Reinier Zwitserloot 46feeaab85 'val' with an array on the initializer didn't work in eclipse. 2010-11-08 16:39:55 +01:00
Reinier Zwitserloot 3855a2171b Delombok on files with only 'val' in them, without --force, didn't do anything. Fixed. 2010-11-08 16:01:19 +01:00
Reinier Zwitserloot 09cebbdc59 'val' in javac now errors out with an appropriate message on val x = { .. }, and arrays no longer cause "Symbol not found: Array" errors. 2010-11-08 15:30:51 +01:00