aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
AgeCommit message (Collapse)Author
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.
2012-08-06fully tested the HandleWither impl for eclipse.Reinier Zwitserloot
2012-08-06Merge branch 'master' into witherReinier Zwitserloot
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java
2012-08-06Untested implementation of HandleWither for eclipse along with minor ↵Reinier Zwitserloot
refactors to HandleSetter
2012-07-22A potential fix for issue #394; Memory leaks in eclipse introduced in lombok ↵Reinier Zwitserloot
0.11.2 due to a fix involving WeakHashMaps for lazy getters of type boolean.
2012-07-16fixed issue 391: Using 'staticConstructor' on @Data whilst an ↵Reinier Zwitserloot
@XxxArgsConstructor is present means it gets ignored, but until now lombok didn't warn you about this.
2012-07-12Wither support + tests (javac only; ecj tests are currently set to ignore).Reinier Zwitserloot
2012-07-11Fielding a request to make some stuff public. The things made public are ↵Reinier Zwitserloot
already part of things we'll change even if public (because, not part of lombok.X or lombok.experimental.X or lombok.experimental.**), nor is it particularly volatile. See issue #389.
2012-07-02Merge branch 'master' of github.com:rzwitserloot/lombokgrootjans
2012-07-02Simplified method injection into Eclipse. Pre-3.6 version of Eclipse seemedgrootjans
to need some special treatment to avoid a bug when generating constructors, see: http://code.google.com/p/projectlombok/issues/detail?id=155 Since Eclipse 3.6 we are no longer able to reproduce this issue. The fix, however, introduced bug 377 i.e. it was no longer possible to set break-points on lines above generated methods/constructors. tl;dr: Fixes #377, but does not reintroduce #155
2012-07-02Generated methods used to be inserted one higher than the intended placegrootjans
2012-07-02Added print position feature to @PrintASTgrootjans
2012-06-25Add positions to generated constructor call (issue 336)Roel Spilker
2012-06-18Fixed Help Content in Eclipse / ecj support.Robbert Jan Grootjans
- Moved Completion proposal code to the PatchExtensionMethodCompletionProposal class - Moved out error reporting from EclipseAST. - Fixed error reporting of the portals.
2012-06-18Fix for issue 376 for EclipseRoel Spilker
2012-06-12Port of lombok-pg's @ExtensionMethod support for eclipse. Doesn't work yet.Reinier Zwitserloot