Commit Graph

  • 38f0e7a49e Changed internal call for resolution to method support in javac7 grootjans 2011-01-31 21:44:30 +01:00
  • f3fcdcf65c NPE fix Reinier Zwitserloot 2011-01-24 19:45:25 +01:00
  • 1bfe6ee1a5 In javac, @XArgsConstructor on enums was not forcing the generated constructor to be private (as all enum constructors have to be). Philipp Eichhorn 2011-01-24 08:37:51 +01:00
  • c305e2c86f trivial update to the build script to get rid of a warning while building tests Reinier Zwitserloot 2011-01-17 23:57:59 +01:00
  • 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. Reinier Zwitserloot 2011-01-17 23:57:11 +01:00
  • 47037e2830 updated the eclipse ecj mirrors as the belgium mirror was discontinued grootjans 2011-01-16 15:39:17 +01:00
  • 5af37e2134 Merge branch 'master' of git@github.com:rzwitserloot/lombok Roel Spilker 2011-01-10 22:16:05 +01:00
  • 9e0da7aa87 In javac7 the BaseFileObject and JavacFileManager have been moved from com/sun/tools/javac/util to com/sun/tools/javac/file Roel Spilker 2011-01-10 22:15:07 +01:00
  • 6d8cee3757 Making delombok compatible with post-resolution transformers meant delombok would fail with a 'duplicate context value' error. Reinier Zwitserloot 2011-01-08 16:35:07 -03:00
  • 1d83020a0c Should fix issue #175, where annotations mysteriously appear to be copied to the methods generated by them. Reinier Zwitserloot 2011-01-02 11:57:54 -03:00
  • 6da38688de Added debug feature (disabled in this commit) to print types of nodes printed by EclipseASTVisitor.Printer Reinier Zwitserloot 2011-01-02 08:55:40 -03:00
  • b9b13f8fcc Using annotation processors with lombok sometimes results in a 'Not Supported: DummyRound0' error. This fixes it. Reinier Zwitserloot 2010-12-31 17:14:47 -03:00
  • 983d487b59 Starting eclipse with an open file containing an enum with @Getter on it would cause 1 error log entry to show up. No other effects other than that, but thats ugly and so thats been fixed. Reinier Zwitserloot 2010-12-31 11:00:49 +01:00
  • fb1d6c0f0d Resolve-phase transformers in eclipse need to force a rebuild of the EclipseAST object. Reinier Zwitserloot 2010-12-31 10:41:53 +01:00
  • 59e2a0ff1d Presence of i.e. getABC() stops lombok from generating getAbc, but lombok will still attempt to call this nonexistent getAbc instead of getABC. Fixed. Reinier Zwitserloot 2010-12-31 10:24:47 +01:00
  • 49100b43c0 calls to canEqual and equals are now fored to go to the version that has 1 Object as parameter (creating new equals methods by giving them non-object parameterized is a _really_ bad idea, but if someone did do that, obviously lombok shouldn't call those!) Reinier Zwitserloot 2010-12-31 01:09:07 +01:00
  • 52582dc10e @ToString, @Getter, and @XArgsConstructor now work on, and are legal on, enums. Docs have been updated. Reinier Zwitserloot 2010-12-28 16:50:19 +01:00
  • d80139fa8f Second time's the charm - fix for generating LombokizedEclipse.launch in windows. Reinier Zwitserloot 2010-12-28 10:20:20 +01:00
  • b56924dcd7 Using @Delegate to add a varargs method now works in eclipse (the varargs nature of the method is preserved). Reinier Zwitserloot 2010-12-28 10:17:19 +01:00
  • 2f99cb62a1 Added detection of type var naming conflicts to eclipse's @Delegate support. Reinier Zwitserloot 2010-12-24 18:03:10 +01:00
  • cbaaedf32c val x = foo; is now desugared into "@val type x = foo;" (the @val is added), for javac. Of course, this is NOT done in delombok mode. Reinier Zwitserloot 2010-12-21 23:10:22 +01:00
  • b260648065 Generating LombokizedEclipse.launch was broken on non-macs. It was also essentially broken on macs, as in, the generated launch only worked on 32-bit eclipses, but the default download these days is a 64-bit cocoa version. Fixed this too. Reinier Zwitserloot 2010-12-21 22:17:01 +01:00
  • 161bcbaf88 After 2 weeks of debugging, finally figured out val in eclipse using lombok.val without breaking 'fix imports'. Eesh. Using "lombok.val" only half-works; auto-complete on the variable doesn't work, but it compiles fine and no errors are reported. Reinier Zwitserloot 2010-12-21 21:56:08 +01:00
  • e15de71fd4 @Delegate in eclipse works when delegating parameterized types now, and will use the parameter names if the delegated element is a source (vs. class) dependency. Reinier Zwitserloot 2010-12-10 21:44:15 +01:00
  • 953b6c1140 Moved all the Compile time constants from the Javac handlers and supporting classes grootjans 2010-12-18 16:03:22 +01:00
  • bac11b43dd Parameter names are now 'arg0', 'arg1', etc, unless the delegated type is source, then the name is copied over. Compared to javac, this means eclipse's @Delegate does NOT use debug symbols, which we'll have to fix later (We checked out how to do it, and it seems virtually impossible). Reinier Zwitserloot 2010-12-01 19:59:53 +01:00
  • ed1ea0dca2 @Deprecated is now copied across for eclipse's @Delegate Reinier Zwitserloot 2010-12-01 19:58:56 +01:00
  • e308909def @Delegate in eclipse now uses more of the standard infrastructure to inject methods. Reinier Zwitserloot 2010-11-29 22:28:32 +01:00
  • b0072a17eb lombok.val import now gets removed. Only adding lombok.val flags the compilation unit as changed. Roel Spilker 2010-11-29 22:43:44 +01:00
  • dd0fded2bf some more work on why delombok isn't tracking changes due to val alone. Reinier Zwitserloot 2010-11-29 20:44:16 +01:00
  • a8e92af7b7 Use includeantruntime="false" for safety and to avoid warnings under Ant 1.8.0+. Jesse Glick 2010-11-29 18:03:18 +01:00
  • 9523364898 Make compilable under JDK 7's javac (thus also removing an error mark in NetBeans' editor). src/core/lombok/core/LombokNode.java:260: gatherAndRemoveChildren(Map<N,L>) has private access in LombokNode for (L child : children) child.gatherAndRemoveChildren(map); ^ where N,L,A are type-variables: N extends Object declared in class LombokNode L extends LombokNode<A,L,N> declared in class LombokNode A extends AST<A,L,N> declared in class LombokNode Jesse Glick 2010-11-29 17:54:19 +01:00
  • 84a74bf638 @ToString usage example had a typo in it (used 'excludes' instead of the correct 'exclude'). Thanks to Francois Marot for spotting this problem. Reinier Zwitserloot 2010-11-29 17:02:58 +01:00
  • 6ac23f853a 'val' now only works if its a reference to lombok.val on javac. Reinier Zwitserloot 2010-11-29 17:01:48 +01:00
  • 7dba9c850c Added 'val' as a type which the 'val' fake keyword must resolve to before val works, as a gesture to make val less 'magical'. It even works, in eclipse. Next up: javac. Reinier Zwitserloot 2010-11-29 16:43:36 +01:00
  • 5e9b99bec8 The somewhat rare conflict in typevar names problem has now been solved in javac. Reinier Zwitserloot 2010-11-29 16:14:10 +01:00
  • 63664a310f bugfixes for typeToJCTree. HandleDelegate (javac) is working better. Reinier Zwitserloot 2010-11-28 16:52:24 +01:00
  • 07cfed749e Want to code lombok in intellij? Run 'ant intellij', possible from this patch on, to do so. This involved switching to ivyplusplus 1.4 and includes a hack to make sure 1.3 users get upgraded. Reinier Zwitserloot 2010-11-27 10:50:22 +01:00
  • a6971710ac Fixed @PrintAST, which wouldn't do anything at all in javac mode since resolution support was added. Reinier Zwitserloot 2010-11-26 10:04:43 +01:00
  • 3c092da93a Documented @Delegate with javadoc. Reinier Zwitserloot 2010-11-25 12:55:13 +01:00
  • c340c9c24f @Delegate, at least without value=, seems to work great in javac now! Reinier Zwitserloot 2010-11-22 23:01:21 +01:00
  • 4ded143def Updated version name - should have done that after pushing 0.10.0-BETA2. Reinier Zwitserloot 2010-11-22 23:52:27 +01:00
  • d76c50e9d5 Merge branch 'master' of git@github.com:rzwitserloot/lombok Roel Spilker 2010-11-22 23:53:08 +01:00
  • 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 Roel Spilker 2010-11-22 23:52:34 +01:00
  • 4ba4a371b5 Cleaned up the patch fixes in eclipse for finding end of identifier and start of catch block. Maaartin-1 reported issues that sound like these were at fault they we were not able to reproduce them. Reinier Zwitserloot 2010-11-22 23:46:12 +01:00
  • e151d49138 Clarified the need to run ant eclipse in README. Reinier Zwitserloot 2010-11-22 23:06:04 +01:00
  • 8eb05b357d Merge branch 'master' of git@github.com:rzwitserloot/lombok Roel Spilker 2010-11-22 23:02:08 +01:00
  • 7dede9a664 Added storing instanceof JavacTypes in JavacAST, and renamed JavacResolution's methods. Reinier Zwitserloot 2010-11-22 23:00:02 +01:00
  • 3a89cbe7e7 Ivy cache is now local to prevent cache conflict with other ivy using projects. Roel Spilker 2010-11-22 22:27:58 +01:00
  • 16a24525bf Fix for reported NPEs by Stephen Haberman. Reinier Zwitserloot 2010-11-19 10:26:29 +01:00
  • ffedb71cb5 Merge branch 'master' of github.com:rzwitserloot/lombok Reinier Zwitserloot 2010-11-18 20:49:23 +01:00
  • 49b9d073ba Pre-beta-release Reinier Zwitserloot 2010-11-18 20:48:54 +01:00
  • ca24a4c3ec Fixed @AllArgsConstructor screwing up with final fields that have been initialized. Reinier Zwitserloot 2010-11-18 20:47:58 +01:00
  • c86d0fcc37 Added link to SpoonVennersOdersky paper about equality. Reinier Zwitserloot 2010-11-18 14:04:32 +01:00
  • 5595943f06 Merge remote branch 'origin/master' Reinier Zwitserloot 2010-11-18 13:05:30 +01:00
  • 3c47eb1299 Added documentation for val and @Getter(lazy=true) and updated docs for Log and EqualsAndHashCode to reflect new lombok 0.10 features. Reinier Zwitserloot 2010-11-18 12:45:02 +01:00
  • 36f9a5aabc Fixed reference to java6 core javadoc package list, which we accidentally removed a long long time ago in commit e693672cd4 Reinier Zwitserloot 2010-11-15 21:27:59 +01:00
  • 423a9610a8 In javac, use ListBuffer to append Roel Spilker 2010-11-15 00:44:16 +01:00
  • 67668f8e98 Added extra javadoc links Roel Spilker 2010-11-16 00:27:26 +01:00
  • b3a9eeeffb Fixed reference to java6 core javadoc package list, which we accidentally removed a long long time ago in commit e693672cd4 Reinier Zwitserloot 2010-11-15 21:27:59 +01:00
  • 415bc490dc Merge branch 'master' of github.com:rzwitserloot/lombok Reinier Zwitserloot 2010-11-15 20:05:04 +01:00
  • 80982cc9d6 Added copyright notices to PatchVal and PatchDelegate [trivial] Reinier Zwitserloot 2010-11-15 19:16:42 +01:00
  • 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. Reinier Zwitserloot 2010-11-15 00:10:26 +00:00
  • 1c2556b1f7 In javac, use ListBuffer to append Roel Spilker 2010-11-15 00:44:16 +01:00
  • d44421dada eclipse: @Delegate now no longer generates methods that you already wrote. Reinier Zwitserloot 2010-11-14 13:43:17 +00:00
  • fa0a027853 Removed the brainfart where final methods aren't delegated. Reinier Zwitserloot 2010-11-14 12:17:38 +00:00
  • 9921778f97 Merge branch 'master' of github.com:rzwitserloot/lombok Reinier Zwitserloot 2010-11-14 12:07:51 +00:00
  • 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. Reinier Zwitserloot 2010-11-14 12:06:42 +00:00
  • 339efa00c6 Added meta-annotations Roel Spilker 2010-11-14 12:37:15 +01:00
  • 936a3e9edb Make @AnyAnnotation illegal to use Roel Spilker 2010-11-14 12:37:03 +01:00
  • d11e6e3115 Moved patch code specific to val and delegate to their own class. Reinier Zwitserloot 2010-11-14 03:42:33 +00:00
  • 2ae0341a3f Jiggered the hook point a bit for eclipse 'delegate' support and it looks like this might just work. Reinier Zwitserloot 2010-11-13 20:21:25 +00:00
  • b30f8e351b Merge branch 'master' into delegate Reinier Zwitserloot 2010-11-11 18:04:00 +01:00
  • 6c6f4c4642 Mostly fruitless work on making delegate work in eclipse. Reinier Zwitserloot 2010-11-11 16:18:18 +01:00
  • 3f00e7c905 @Getter(lazy=true) now also works in Eclipse Roel Spilker 2010-11-11 05:55:15 +01:00
  • a9113718ae Set generated on all created ASTNodes Roel Spilker 2010-11-11 05:54:42 +01:00
  • ddf54dcfae Merge branch 'master' into lazyinit Roel Spilker 2010-11-11 02:03:38 +01:00
  • 1c32333249 @Getter(lazy=true) support for javac Roel Spilker 2010-11-11 01:58:48 +01:00
  • eae3e45ae7 trivial - removed some unused imports Reinier Zwitserloot 2010-11-11 00:45:31 +01:00
  • a0847b4c38 Tests were failing due to a bug in the compare error output part of the test runner. Reinier Zwitserloot 2010-11-10 23:48:30 +01:00
  • 40b76b5046 Merge branch 'fixDelombok' Reinier Zwitserloot 2010-11-10 22:20:08 +01:00
  • 632027249b All tests pass! - The test framework has been updated a bit to fit with the new way delombok works. Reinier Zwitserloot 2010-11-10 22:19:46 +01:00
  • 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). Reinier Zwitserloot 2010-11-10 22:19:26 +01:00
  • 5b5a3713e2 Fix for javac: 'val x = null;' is now valid, and results in x being of type Object. Reinier Zwitserloot 2010-11-10 22:18:07 +01:00
  • c8774389e7 Made AnyAnnotation deprecated Roel Spilker 2010-11-10 20:38:42 +01:00
  • 3d4b27d6d2 Merge branch 'master' into annoGetSet Roel Spilker 2010-11-10 01:52:07 +01:00
  • 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. Roel Spilker 2010-11-10 01:44:04 +01:00
  • 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. Reinier Zwitserloot 2010-11-10 01:27:00 +01:00
  • 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. Reinier Zwitserloot 2010-11-10 00:32:56 +01:00
  • 63519f9ae6 Undone something that'll never work anyway Reinier Zwitserloot 2010-11-10 00:24:10 +01:00
  • cbbb54a133 Merge branch 'master' into javaChickenAndEgg Reinier Zwitserloot 2010-11-09 23:53:57 +01:00
  • 57de0c3f66 EqualsAndHashCode no longer worked right when working on a class with 0 fileds. Fixed. Thanks to Philipp Eichhorn for spotting this problem! Reinier Zwitserloot 2010-11-09 23:52:54 +01:00
  • 186b16c28c EqualsAndHashCode no longer worked right when working on a class with 0 fileds. Fixed. Thanks to Philipp Eichhorn for spotting this problem! Reinier Zwitserloot 2010-11-09 23:52:54 +01:00
  • c88ae3af74 Merge branch 'master' into javaChickenAndEgg Reinier Zwitserloot 2010-11-09 21:32:40 +01:00
  • 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. Reinier Zwitserloot 2010-11-09 21:29:08 +01:00
  • 46d471e9c3 Merge branch 'master' into annoGetSet Reinier Zwitserloot 2010-11-09 20:37:25 +01:00
  • 0951ea38fe Experiment to try and make java 'self referential' by deleting the Enter and MemberEnter state. So far it doesn't work yet. Reinier Zwitserloot 2010-11-09 20:35:34 +01:00
  • 04d041a7dc Delegate annotation Reinier Zwitserloot 2010-11-09 20:32:47 +01:00
  • a94243e062 Added lombok.Lombok.preventNullAnalysis to the null test in @Cleanup to suppress warnings about variables that cannot be null Roel Spilker 2010-11-09 00:37:06 +01:00
  • 98d8a9f63b 'val' didn't work on ecj/eclipse when referring to types in the default package. fixed. Reinier Zwitserloot 2010-11-09 00:15:35 +01:00