aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac
AgeCommit message (Collapse)Author
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-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-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-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-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-29fix for issue #423: @ExtensionMethods failed with an NPE in the handler on ↵Reinier Zwitserloot
javac if generated constructors are involved.
2012-09-17If val errors out, now at least you see where it happened.Reinier Zwitserloot
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-10Added an optimization to javac: Don't force new resolution rounds if none of ↵Reinier Zwitserloot
the handlers in the next priority level need it.
2012-08-10bugfix: Detecting javac6 didn't work on soylatte; now it does.Reinier Zwitserloot
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-06Merge branch 'master' into witherReinier Zwitserloot
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java
2012-07-18Lombok not longer removes the feature annotations and the import ↵Philipp Eichhorn
declarations of said annotations when running in Netbeans. This solves another batch of usability issues in Netbeans.
2012-07-17Fix for issue 396: Static constructors generated for classes with type ↵Reinier Zwitserloot
parameters did not work in javac.
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-16Added setting position of generated nodes in javac's @Synchronized as a ↵Reinier Zwitserloot
'pilot' to see if we cause any problems with this approach. It does generate nicer error messages! Example: Using @Synchronized with named lock on a static method, naming a non-existent or instance lock. That used to error on line -1.
2012-07-13Fixed issue 399: @ExtensionMethod broken for javac in nearly all casesPhilipp Eichhorn
2012-07-13Fixed issue 397: Rare java.lang.StackOverflowError in JavacResolution.Philipp Eichhorn
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-11Made lombok more stable in netbeans based on some smart observations by Jan ↵Jan Lahoda
Lahoda of team Netbeans.
2012-06-24[Issue 381] @SneakyThrows respects constructor callsPhilipp Eichhorn
2012-06-18Fix for issue 376 for javac.Roel Spilker
2012-05-22Javac implementation of @ExtensionMethod.Robbert Jan Grootjans
Casual tests show that it is working. Taken from lombok-pg.
2012-04-29Issue 366: don't call the getter twice, fixed for Eclipse.Roel Spilker
2012-04-29Issue 366: don't call the getter twice, fixed for javac.Roel Spilker
2012-04-23Replaced the 'try some reflection and if that fails, oh well' code with ↵Reinier Zwitserloot
catch(Throwable) instead of catch(Exception). The whole point is to default to an alternative path is anything goes wrong, and it turns out there are various ways to get Throwables instead of Exceptions.
2012-04-03Philipp Eichhorn's patch to allow non-top-level annotations to work with ↵Reinier Zwitserloot
lombok's annotation framework.
2012-04-03Philipp Eichhorn's patch to use marker annotations instead of ↵Reinier Zwitserloot
boolean-returning interface methods for eclipse's postdiet and javac's isResolutionBased.
2012-03-27Merge branch 'master' into accessorsReinier Zwitserloot
Solved trivial merge conflict based on ordering of import statements Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java
2012-03-27Fixes issue 326: In NetBeans, the generated default constructor was compiled ↵Roel Spilker
into the classfile, even when lombok generated constructors.
2012-03-26In delombok mode, @Accessors is now eliminated from your source files.Reinier Zwitserloot
2012-03-26Finished work on @AccessorsReinier Zwitserloot
2012-03-26Merge branch 'acc2' into accessorsReinier Zwitserloot
Conflicts: src/core/lombok/eclipse/handlers/HandleGetter.java src/core/lombok/eclipse/handlers/HandleSetter.java src/core/lombok/javac/handlers/HandleGetter.java src/core/lombok/javac/handlers/HandleSetter.java
2012-03-26Updated findMethod with paramcount.Reinier Zwitserloot
2012-03-22Bug fixes for updates to getter/setter stuff based on @Accessors.Reinier Zwitserloot