aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-07-08Fixed value's snippet integration (it hadn't been updated yet now that Value ↵Reinier Zwitserloot
has moved from experimental into core).
2013-07-08gave up on adding support for moving javadoc to getter/setter in eclipse. ↵Reinier Zwitserloot
Eclipse breaks the javadoc out of the raw source and we can't modify that without breaking a billion things. To solve this issue we'd have to write some very complicated patches to intercept this process and somehow propagate the node that the javadoc is attached to AND translate from the ast model to dom or whatever is being used there. Not gonna happen for this low priority feature.
2013-07-08added tests for new javadoc behaviour, javac implementation of copying ↵Reinier Zwitserloot
javadoc for getters/setters, and fixed pretty printer to no longer inject an extra newline at the top of javadoc.
2013-07-08Support for javadoc copying in Getter/Setter generation for javac, as well ↵Reinier Zwitserloot
as updates to all relevant documentation
2013-07-08A lot of refactoring on how javadoc is handled, to prepare for copying ↵Reinier Zwitserloot
javadoc from field to setter/getter in javac.
2013-07-07more work on the tricky Context hack to make 'ant compile' not emit warnings.Reinier Zwitserloot
2013-07-07eclipse support for the new @Getter(lazy=true) desugaring.Reinier Zwitserloot
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-04-05Type fixes for JDK7Robbert Jan Grootjans
2013-04-05Some small fixes for Java 7Robbert Jan Grootjans
2013-03-26Massive performance improvements, and a few potentially breaking changes for ↵Roel Spilker
other lombok plugin developers.
2013-03-22Refactored out references to TypeTags.Robbert Jan Grootjans
Instead they are retrieved dynamically, with a pinch of caching during runtime. We already had some fixes to make sure that compile time constanst were not inlined, but we need to take into account that a lot of the Integer-based enums have been replaced with actual enums. Also, certain TreeMaker methods needed to be invoked dynamically with reflection. This needs to be reviewed, and if it turns out that these changes are too dramatic, we should fork out a larger part of our code for specific JVM versions.
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-03-08Compiler options can now be specified for JDK 8 or JDK 6/7 or lower.Robbert Jan Grootjans
After this was finalized I realize that we might consider moving entirely to String based options, instead of inferring the options from the provided enum. This setup does have the benefit of throwing exceptions when options are not present.
2013-03-08Added switch to CommentsCatcher. Assumption, until proven otherwise isRobbert Jan Grootjans
that JDK8 behaves similar to JDK7.
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.