aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-06-04Merge pull request #2822 from FlorentMouysset/masterReinier Zwitserloot
Fix @CustomLog-key in lombok.config for some error messages. Issue #2821
2021-06-03Merge pull request #2815 from Rawi01/var-val-cacheReinier Zwitserloot
Cleanup internal argument cache
2021-04-27Fix @CustomLog-key in lombok.config for some error messages. Issue #2821MOUYSSET Florent
2021-04-23Change owner lombok GitHub repositoryRoel Spilker
2021-04-18[fixes #2460][fixes #2462] Cleanup internal argument cacheRawi01
2021-04-18Merge pull request #2809 from Rawi01/eclipse-javadoc-performanceReinier Zwitserloot
Avoid reading file from disk by reusing the parser source
2021-04-18[records] [@NonNull] slight refactor to ensure any generated canonical ↵Reinier Zwitserloot
constructor is visible to downstream APs We used to remove the canonical constructor on a record that javac generates, and replace it with our own, as we put null checks in it. However, the type mirrors and such Annotation Processors use already have the implicit canonical constructor available. Instead of trying to remove those, let's just take the existing implicit constructor and add to that (and mark it explicit, of course).
2021-04-18[StandardExceptions] fix for javacReinier Zwitserloot
2021-04-18[review] Use javac's internals to update type mirrorsReinier Zwitserloot
This should help with making any annotation processors that run after lombok to 'see' the changes lombok caused properly.
2021-04-18Merge branch 'enter-types-methods-fields' of git://github.com/Rawi01/lombok ↵Reinier Zwitserloot
into Rawi01-enter-types-methods-fields
2021-04-18[StandardException] generate an error if the annotation is on a class that ↵Reinier Zwitserloot
extends nothing.
2021-04-16[trivial]Reinier Zwitserloot
2021-04-16[pr 2702] finishing the `@StandardException` feature.Reinier Zwitserloot
* rewritten how it works a bit: Now compatible with parent exceptions that don't have the Throwable variants. * rewritten how it works a bit: You can now provide the full constructor only; the rest will forward to it. * fixing up style. * rewrite the docs.
2021-04-16Merge branch 'standard-exception' of git://github.com/ttzn/lombok into ↵Reinier Zwitserloot
ttzn-standard-exception
2021-04-06Avoid reading file from disk by reusing the parser sourceRawi01
2021-04-02[versioning] post-release version bumpReinier Zwitserloot
2021-04-02[versioning] pre-release version bumpReinier Zwitserloot
2021-04-01[fixes #2787] Handle right hand side of assignment firstRawi01
2021-03-24@StandardException feature working draftttzn
* move feature under experimental * replace ProviderFor with Provides * add doc material (to be completed) * add author
2021-03-24@StandardException feature working draftttzn
* annotation with javac and Eclipse handlers * single test file
2021-03-24Merge pull request #2687 from janrieke/superBuilderConfigBuilderClassNameReinier Zwitserloot
SuperBuilder: consider lombok.builder.className for builder extends clause
2021-03-24[records] [`@NonNull`] eclipse impl onfthe `@NonNull` on record components ↵Reinier Zwitserloot
feature. All tests passing.
2021-03-23[records] [javac] Putting `@NonNull` on a 'field' of a record now affects ↵Reinier Zwitserloot
the compact constructors, generating one if need be.
2021-03-22[javac] defer removal of `import lombok.x;` nodes until delombokReinier Zwitserloot
Our test harness setup for JDK15 and up doesn't work with annotations on record 'fields' (`record X(@RightHere String foo)`).
2021-03-22[deps] pushing ASM to 9.1, and ASM opcode compat levels to ASM9, as we need ↵Reinier Zwitserloot
the support for records
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-21Merge pull request #2725 from md-5/masterReinier Zwitserloot
[fixes #2724] Increase priority of Builder annotation removal
2021-03-21Merge pull request #2771 from janrieke/copyMoreJacksonAnnotationsReinier Zwitserloot
Add more Jackson annotations to the copy-to-setter list
2021-03-21Merge pull request #2772 from janrieke/superBuilderNPEwithSingularReinier Zwitserloot
[fixes #2701] fix NPE on customized SuperBuilder with Singular
2021-03-21Merge pull request #2770 from janrieke/superBuilderNPEinConstructorExistsReinier Zwitserloot
[fixes #2704] SuperBuilder: avoid NPE on existing constructors
2021-03-20[fixes #2724] Increase priority of Builder annotation removalmd_5
Otherwise they may run after `HandleDelegate`. This is problematic as `HandleDelegate` parses the compulation unit and `@Builder` may contain imports (eg `AccessLevel`) that were already removed by other processors, eg `@Getter`.
2021-03-19[jdk16] fix delombok (and the test suite, which depends on it) for jdk16.Reinier Zwitserloot
2021-03-19[jdk16] TypeSymbol.isLocal has been renamedRoel Spilker
2021-03-16[fixes #2681] [jdk16] support jdk16Reinier Zwitserloot
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.
2021-03-13[superbuilder] toBuilder + singular + javac6 was brokenReinier Zwitserloot
superbuilder generated the node `x.pluralName(plural == null ? Collections.emptyList() : plural)`. java6 is not smart enough to infer the appropriate generics for the emptyList() call. Fixed by always specifying the needed type explicitly: Collections.<String>emptyList();
2021-03-13[trivial] style and removing unused importsReinier Zwitserloot
2021-03-12rename method; use null instead of empty string [eclipse]Jan Rieke
2021-03-12[fixes #2701] fix NPE on customized SuperBuilder with SingularJan Rieke
2021-03-12[fixes #2654] add more Jackson annotations to the copy-to-setter listJan Rieke
2021-03-12rename method; use null instead of empty stringJan Rieke
2021-03-12[fixes #2704] SuperBuilder: avoid NPE on existing constructorsJan Rieke
2021-03-05[javac6] replacing calls to ListBuffer add/addAll to the append variants; ↵Reinier Zwitserloot
add/addAll do not work in j6.
2021-03-04Merge pull request #2762 from Rawi01/utility-class-renameReinier Zwitserloot
Mark generated UtilityClass constructor as generated
2021-02-25[fixes #2756] Mark generated UtilityClass constructor as generatedRawi01
2021-02-07[fixes #2741] Handle inner method invocations firstRawi01
2021-02-04Merge pull request #2719 from Rawi01/superbuilder-initializer-npeReinier Zwitserloot
SuperBuilder now skips initializers while gathering types
2021-02-04[fixes #2714] Detect turbine and fail harder than usual.Reinier Zwitserloot
2021-02-04Merge pull request #2733 from Rawi01/checker-superbuilderReinier Zwitserloot
Add missing checker annotations in SuperBuilder
2021-02-01Clear invalid types of unboxed annotationsRawi01