aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandleData.java
AgeCommit message (Collapse)Author
2021-03-22Merge branch 'records'Reinier Zwitserloot
# Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java # src/core/lombok/eclipse/handlers/HandleBuilder.java # src/core/lombok/eclipse/handlers/HandleData.java # src/core/lombok/eclipse/handlers/HandleNonNull.java # src/core/lombok/eclipse/handlers/HandleSuperBuilder.java # src/core/lombok/javac/handlers/HandleBuilder.java # src/core/lombok/javac/handlers/HandleNonNull.java # src/core/lombok/javac/handlers/HandleSuperBuilder.java # test/core/src/lombok/RunTestsViaEcj.java
2021-03-16[build] sped up the build considerable.Reinier Zwitserloot
We used to use the mango SPI processor, but this had two major issues: * ecj wouldn't run annotation processors, requiring a separate proc:only compile run with javac * mangoSPI couldn't do incremental compilation, so this required a full rebuild just to generate SPI files, every time. Addressed by updating to IPP40 which does support explicit annotation processors even for ecj, and adding our own SPI generating annotation processor to the build which can deal with incrementals. There are some limits; removing a `@Provides` annotation on an existing type will need a full clean to pick that up, for example. These limits seem quite exotic, though.
2020-09-10Add record supportRawi01
2018-05-28Generate default no-args constructorRoel Spilker
2018-04-23Allow onMethod and onParam in @Getter and @Setter if it is put on a typeRoel Spilker
2018-03-27[trivial] some memoryload improvements by not making a new instance but ↵Reinier Zwitserloot
using a cached one instead. Fixes issue #1579
2018-02-16#1579: recycle handlers to avoid excessive garbage collectionJavier Ramos
2014-05-23Added confkey to make @NonNull generate a different exception because of the ↵Reinier Zwitserloot
IllegalArgumentException vs. NullPointerException that we really don’t want to get into.
2014-01-18[configuration] Moved ALL ConfigurationKey constants into ↵Reinier Zwitserloot
'ConfigurationKeys'; that bug where fields in annotation defs causes issues is too endemic to try and work around these.
2014-01-18[configuration] implementation of flagUsage for all handlers.Reinier Zwitserloot
2013-06-16Eclipse Builder implementation finished. Tests need fleshing out though.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.
2011-11-07Changed copyright noticesRoel Spilker
2011-06-20Javac/EclipseAnnotationHandler are now abstract classes instead of ↵Reinier Zwitserloot
interfaces; there were too many 'option' methods (methods where you return either true or false), so we really needed the ability to pick a default.
2011-06-02Eclipse handlers can now opt out of being run in diet-parse mode. Fixes ↵Reinier Zwitserloot
Synchronized and SneakyThrows
2011-05-30tracking if an annotation has been handled or not is now no longer doneReinier Zwitserloot
via the LombokAST object. Instead its tracked more directly in an attempt to avoid having to write all handlers as idempotent, and just in case issue #164 is a race condition (the handled-or-not is a synchronized CAS check). This does break API for other plugins, but the fix is trivial: Just make your 'handle' method return void. That 'we won't call you again' business in the decks never quite worked right anyway. Also, you might want to call Javac.(recursive)setHandledBy when you generate nodes, now.
2010-07-22toString(), equals(), and hashCode() now use getX() instead of x if either ↵Reinier Zwitserloot
it exists OR it will be generated by some other lombok annotation, addressing issue #110. code deduplication by removing HandleData's scanning for fields, which is now no longer done; the sub-parts of Data (Getter, Setter, RequiredArgsConstructor, etc) take care of it now. fix for class-level @Getter/@Setter, which used to go for every field. Now they skip the usual fields (static, for setters final, and $ prefixed fields). Bugfix for @Data not recognizing that it should let field-level @Getter/@Setter take care of generating the getter/setter for multi field declarations (@Getter int x, y);
2010-07-19Added support for @ConstructorProperties generation for generated constructors.Reinier Zwitserloot
Also added fix: @Constructor with access level none are now no longer generated. Implements issue #122
2010-07-19Added support for @NoArgsConstructor, @RequiredArgsConstructor and ↵Reinier Zwitserloot
@AllArgsConstructor for eclipse. Implements issue #79.
2010-07-17Implements issue #129: @Getter and @Setter are now legal on entire types.Reinier Zwitserloot
2009-12-04Fix for issue #75: If 'setURL' exists, then lombok will no longer make a ↵Reinier Zwitserloot
'setUrl' field if you have a field named 'url'.
2009-12-02Changed the order of the generated methods in for @DataRoel Spilker
- Constructor(s) - Getters/Setters per field - equals - hashCode - toString Added first test for @Data
2009-11-28Moved TransformationsUtil to a new package.Reinier Zwitserloot
2009-11-25Refactored the source folders.Reinier Zwitserloot