aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-07-07@Getter(lazy=true) now uses a different, more efficient desugaring. ↵Reinier Zwitserloot
Implementing in javac, ecj still has to be done.
2013-07-07lombok's compile target is 1.6, but, eclipse project was generated as 1.7. ↵Reinier Zwitserloot
This caused a bunch of weirdness because eclipse changes a bunch of warnings and quickfixes based on this (such as complaining about lack of @SafeVarargs, a 1.7-only feature).
2013-07-07FINALLY! Found the cause of a really weird eclipse bug,Reinier Zwitserloot
where _ANY_ mention of com.sun.tools.javac.tree.TreeMaker, anywhere in a source file, would disable pretty much every intelligent part of what makes the 'I' in IDE in eclipse: No auto-complete, no 'go to declaration', etcetera, but only since Eclipse Juno (not fixed in Kepler either). It's the presence of src/stubs/com/sun/tools/javac/util/Context.java. I've moved Context to a special stubs directory that's only used for javac (so that we still get the benefit of getting some warnings and such when making command line builds), and removed the @Override annotations for where the stubbing is relevant (for methods that exist in javac7 but not in javac6 on interfaces we create implementations of). Furthermore, I did some extremely tricky work in making our version actuall compatible with the exact class signatures of both javac6- and javac7+'s versions; generation of synthetic methods for reified type parameters was causing havoc. A big stack of 'here be voodoo' comments unfortunately added to explain it all; necessary evil.
2013-07-07Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2013-06-28allow installer to be started with lombok.installer.fullpath, that creates ↵Martin Goldhahn
proper paths on Windows
2013-06-25deprecating the old Value annotation also added deprecation warnings to ↵Reinier Zwitserloot
where we still support it as an alias. fixed.
2013-06-25and added some more javadoc to point at the new main package variantReinier Zwitserloot
2013-06-25... and now that @Value has been promoted to the main package, the old ↵Reinier Zwitserloot
experimental one is now deprecated.
2013-06-25Value has been promoted to the main package.Reinier Zwitserloot
2013-06-18javac builder implementation. Passes all tests.Reinier Zwitserloot
Added toString() impl for builders in both eclipse and javac. Added all documentation, though it'll need some reviewing.
2013-06-18Added a ClassDef wrapper, because its signature changed between javac1.6 and ↵Reinier Zwitserloot
javac1.7. (The wrapper uses reflection). Need for: javac @Builder impl. Also added some utilities to JavacHandlerUtil.
2013-06-16Most of the javac implementation for HandleBuilder, plusReinier Zwitserloot
some minor updates and refactoring in the eclipse HandleBuilder.
2013-06-16Eclipse Builder implementation finished. Tests need fleshing out though.Reinier Zwitserloot
2013-06-16First steps Builder supportReinier Zwitserloot
2013-06-16Added injectType methods to Eclipse/JavacHandlerUtil, which we'll need to ↵Reinier Zwitserloot
inject the created $Builder type. Inspired by Philipp Eichhorn's work in lombok-pg.
2013-06-16Removed a SuppressWarnings which old eclipse doesn't care about for some ↵Reinier Zwitserloot
reason... now I'm just confused. Do we need it or not?
2013-06-16issue 536: annotationprocessor now always returns false.Reinier Zwitserloot
2013-06-13Added some very limited reporting when OutOfMemorErrors occur duringReinier Zwitserloot
parse tree builder under javac. Let's hope our users reporting these issues can use this to figure out which files are triggering the issue.
2013-05-31Added @NonNull on parameters feature (issue 514),Reinier Zwitserloot
including docs and changelog.
2013-05-30Fixes for issue 470: VerifyErrors when using @SneakyThrows.Reinier Zwitserloot
2013-05-24whoops, didnt update version number to 0.11.9 yetReinier Zwitserloot
2013-05-24Fixed more issues related to java7's try-with-resources,Reinier Zwitserloot
and updated ECJ version detection.
2013-05-23Added methods to obtain JLS support-level version information from ↵Reinier Zwitserloot
AST/LombokNode. Tests updates to honour these with //version X at the top of any test file (now also in eclipse, which until now always said it was v6)
2013-05-23Added a method to obtain latest java language spec supported by hostReinier Zwitserloot
platform and implemented it for javac BUT NOT FOR ECJ!
2013-05-06Fixed issue 513: If equals is present but hashCode isn't, @Data now ↵Reinier Zwitserloot
generates a warning to explain this strange situation.
2013-04-23prerelease version bumpReinier Zwitserloot
2013-04-23added temporary debug switch -Dlombok.debugAsmOnly for issue 470.Reinier Zwitserloot
2013-04-23added support for lombok.disablePostCompiler.Reinier Zwitserloot
2013-04-23fixed capitalization error in an inner class.Reinier Zwitserloot
2013-03-26Massive performance improvements, and a few potentially breaking changes for ↵Roel Spilker
other lombok plugin developers.
2013-03-18Fixed issue 459: Delombok would choke on try-with-resources.Reinier Zwitserloot
2013-03-18Some halfway work on introducing hideNulls feature to toString. Aborted ↵Reinier Zwitserloot
because it is a lot more work than anticipated, but this code is prettier and slightly more bugfree so worth checking in.
2013-03-18fixed javadoc of XAnnotationHandler; they used to be interfaces but now they ↵Reinier Zwitserloot
are abstract classes.
2013-03-12In delombok, we mark the AST as changed if we remove an annotation; this ↵Reinier Zwitserloot
fixes the issue where delombok would leave lombok annotations in the file if that annotation had no actual effect (such as @Getter on a field if there is an explicit getX method for that field). issue #443: delombok would screw up @SneakyThrows on methods or constructors with empty bodies. Now we generate warnings for this.
2013-03-12Fix for issue #436: In eclipse, calling i.e. `list.get(i).extensionMethod()` ↵Reinier Zwitserloot
would fail with VerifyError when that code is executed in eclipse.
2013-03-11Added installer support for JBoss Developer Studio which is an eclipse variant.Reinier Zwitserloot
Also fixed a bug where eclipses installed in user.home weren't found automatically on windows. Also fixed a bug where STS installed in C:\Program Files (X86) wasn't found automatically.
2013-03-11Added @Log4j2 support.Reinier Zwitserloot
2013-02-18Changed @Value to no longer imply @Wither. Usually you want onlyReinier Zwitserloot
a few or no withers at all, and adding them is a lot simpler than removing them. This is a breaking change, but then that's why @Value was in experimental in the first place.
2013-02-11Bugfix for delombok mangling x++ into ++x on java7.Reinier Zwitserloot
2013-02-11BIG commit:Reinier Zwitserloot
* re-introduction of onMethod/onConstructor/onParam * tests checking error/warnings rewritten to be more heuristic, in order to accomodate difference in messaging between java6 and java 7 * Ability to eliminate java's own output of erroneous error messages (heh); i.e. those messages that are invalidated by lombok's actions. This mechanism is used for onMethod/onConstructor/onParam * First steps to unifying a billion setGeneratedBy calls into a single visitor traversal for eclipse' HandleGetter/Setter/Constructor/Wither * To simplify 'zooming in' the tests on just a few files, added an 'accept' mechanism. * Updated copyright headers of website to 2013.
2012-11-17Added all documentation for the onX feature and updated changelog.Reinier Zwitserloot
Now to actually write the feature (Well, rescue it from the onX-removal tag).
2012-11-17Updated the javadoc of each and every feature annotation that lombok has:Reinier Zwitserloot
* Removed most documentation and instead put in a link to the much more up to date and extensive documentation at http://projectlombok.org/features * Getting ahead of ourselves a little, added notes on onConstructor/onParam/onMethod which we are about to add in the next few commits. * Updated copyrights to 2012.
2012-11-12Fixed two minor javadoc typos in @Getter and @Value.Reinier Zwitserloot
(With thanks to Bart Enkelaar)
2012-11-12[refactor] Cleaned up static imports (always use *), and refactored out ↵Reinier Zwitserloot
getCtcInt calls into constants as defined in Javac.
2012-10-30post-release version bump.Reinier Zwitserloot
2012-10-30pre-release version bumpReinier Zwitserloot
2012-10-30Added annotation for the slf4j extended loggergrootjans
2012-10-30Fix for issue 408: IllegalArgumentException when generating setters in ↵Reinier Zwitserloot
eclipse for fields with @Deprecated on them.
2012-10-29fix for issue #423: @ExtensionMethods failed with an NPE in the handler on ↵Reinier Zwitserloot
javac if generated constructors are involved.
2012-10-25Empty statements no longer being printed to be consistent with Javac7 which ↵Reinier Zwitserloot
seems to just remove these from the AST entirely.