aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
AgeCommit message (Collapse)Author
2014-02-27Fixed some issues when using lambda expressions in eclipse using the beta ↵Reinier Zwitserloot
JDK8 support plugin for Kepler.
2014-02-10Improved error reporting in EclipseRoel Spilker
2014-02-10[deps] Updated eclipse deps to 3.9 tree. This also enables testing java7 ↵Reinier Zwitserloot
features on ecj. [Log] updated naming for @Log (topic= instead of mchmulder's 'value').
2014-02-08Handler and testcases for @XSlf4jMaarten Mulders
2014-02-08Handler and testcases for @Log4j2Maarten Mulders
2014-02-08Handler and testcases for @Log4jMaarten Mulders
2014-02-08Handler and testcases for @LogMaarten Mulders
2014-02-08Handlers and testcases for @CommonsLogMaarten Mulders
2014-02-08Handlers and testcases for @Slf4jMaarten Mulders
2014-02-05Fix for issue 631. Martin, thanks for the contribution.Roel Spilker
2014-01-19Issue 625: use (even) better primes for hashcodesRoel Spilker
2014-01-15added package-infos to lots of packages, updated the javadoc in these, and ↵Reinier Zwitserloot
made lots of private/package private methods 'public' in packages that aren't actually public API. Tumi asked for this, and I can imagine this is useful for others who are hacking add-ons to lombok. The package-info files clarify that we aren't committing to long-term stability of anything except the stuff directly in the lombok package, lombok.experimental, and lombok.extern.
2014-01-09[#625] Instead of '31' as a prime number for hashCode(), use something else. ↵Reinier Zwitserloot
31, probably owing to its inclusion in Effective Java, is overused, as proven by Maaartinus in issue 625. Switching to 277 instead. Also, 1231/1237 pair used for booleans has been replaced by 2591/2609.
2014-01-09Added code to NOT add @SuppressWarnings to things if a @SuppressWarnings is ↵Reinier Zwitserloot
already there. Lombok itself can't ever do that anyway (we don't add @SW except to things we just generated fresh), but some lombok extension builders do, and this helps them.
2013-12-11semi-fix for issue 602, but not complete as adding annotations to generated ↵Reinier Zwitserloot
fields leads to crazy issues (see issue 217): generated LOG field now has @SuppressWarnings on it.
2013-10-10Fix for issues when mixing @NonNull on params with @SneakyThrows or ↵Reinier Zwitserloot
@Synchronized [Issue #588]
2013-09-24Merge branch 'master' into jdk8checkReinier Zwitserloot
Conflicts: src/core/lombok/core/Version.java src/core/lombok/javac/handlers/HandleConstructor.java test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages test/transform/resource/messages-ecj/EqualsAndHashCodeWithSomeExistingMethods.java.messages
2013-09-20Issue 559: NullPointerException when @NonNull is used in abstract methodSander Koning
- Prevent NPE in javac and give a proper warning in both eclipse and javac - Add test cases
2013-08-14* Fixed 553: @XArgsConstructor (and @Builder on a class) did not look at ↵Reinier Zwitserloot
@Accessors to handle field accessors. * various operations on names in javac were really slow; they are faster now.
2013-08-12replaced double underscore as new standard way of writing the dummy ↵Reinier Zwitserloot
annotation for onX instead of single underscore, which emits warnings on javac8+. Also made dollars and Xes legal in addition to underscores, in case double underscore disappears later too.
2013-08-11Fixed two typosJan Ouwens
2013-07-16* Fixed issues with @FieldDefaults and @Value (you can NOT overrideReinier Zwitserloot
@Value's final-by-default and private-by-default with it; now appropriate warnings are emitted) * Builder now errors out on presence of most lombok annotations on an explicit builder class. * Builder now takes @FieldDefaults/@Value into account. * Builder on type now generates the constructor as package private instead of private to avoid synthetic accessor constructors. * added a bunch of test cases. * added a test case feature: If the expected file is omitted entirely but there are expected messages, the differences in the output itself are ignored. * streamlined checking for boolean-ness (removed some duplicate code) * added 'fluent' and 'chain' to @Builder.
2013-07-16Renamed ImmutableList to LombokImmutableList, to reduce our ImmutableList ↵Reinier Zwitserloot
coming up in autocomplete dialogs when guava's was intended.
2013-07-07eclipse support for the new @Getter(lazy=true) desugaring.Reinier Zwitserloot
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-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-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-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-06Fixed issue 513: If equals is present but hashCode isn't, @Data now ↵Reinier Zwitserloot
generates a warning to explain this strange situation.
2013-03-26Massive performance improvements, and a few potentially breaking changes for ↵Roel Spilker
other lombok plugin developers.
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-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-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-12[refactor] Cleaned up static imports (always use *), and refactored out ↵Reinier Zwitserloot
getCtcInt calls into constants as defined in Javac.
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-09-03@FieldDefaults was causing template suggestions to not appear sometimes.Reinier Zwitserloot
See issue 411.
2012-08-28If the JVM is started with -Dlombok.disable, lombok is disabled entirely for ↵Reinier Zwitserloot
both eclipse/ecj and javac operations.
2012-08-24There is now an 'override this method' alternative forReinier Zwitserloot
setting the annotation you handle for an XAnnotationHandler<T>; default behaviour still extracts the T part out of the signature.
2012-08-13FieldDefaults (and Value) did not call .rebuild() after changing modifiers. ↵Reinier Zwitserloot
This also meant delombok would not emit the changed code if that's all that changed, because it thought nothing changed.
2012-08-10* Added priorities to handlers, along with implementation of the priority ↵Reinier Zwitserloot
system for javac and ecj. * @Value now makes the class itself final by default.
2012-08-06Added @Value and @FieldDefaults implementations for javac and ecj, the ↵Reinier Zwitserloot
annotations including @NonFinal and @PackagePrivate, and some refactors. No tests yet.