aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac
AgeCommit message (Collapse)Author
2022-03-17[fixes #2990] Treat records and enums as places where `static` is allowed.Reinier Zwitserloot
2022-02-17[fixes #2990, #3069] allow logging on enumsvarkart
2022-02-08[implements #1456] accessors can now be made final via `@Accessors`.Reinier Zwitserloot
2022-01-31[fixes #3053] Delay default annotation removalRawi01
2022-01-30[fixes #3097] Update inner class type when creating a static classRawi01
2022-01-14Fix for defaulting behaviour for lombok annotations.Reinier Zwitserloot
What's the name of one of those bugs where you look at it and go: Wow. This can never have possibly worked? And yet it has? An inverse heisenbug: Once observed, it has always existed, but before observing it, no problems. Anyway, fixed. For what it's worth.
2022-01-09[fixes #3081] make CheckerFramework's This a type annotationJan Rieke
2022-01-07[fixes #2908] don't generate checkerframework's @NotCalledMethodsJan Rieke
2021-12-30[fixes #3070] fix guava type name for SuperBuilder's toBuilderJan Rieke
2021-12-21[fixes #2849] Make ToString's onlyExplicitlyIncluded a config key.Reinier Zwitserloot
2021-12-12[fixes #3036] Keep builder default initializer positionRawi01
2021-12-12[fixes #3040] Support array initializer in onXRawi01
2021-10-26[fixes #3014] Detecting whether inner classes are static wouldn't work if ↵Reinier Zwitserloot
placed inside an enum or interface.
2021-10-22[fixes #2995] Skip records for field defaults via configRawi01
2021-10-18[#2693] Review and updates for javabeans-style capitalization lombok.configReinier Zwitserloot
2021-09-16Merge pull request #2932 from Rawi01/record-nonnull-symbolsReinier Zwitserloot
Keep record compact constructor parameters
2021-09-16Merge pull request #2868 from Rawi01/clone-primitive-typeReinier Zwitserloot
Clone primitive types
2021-09-16Merge pull request #2866 from Rawi01/anonymous-inner-classReinier Zwitserloot
Handle anonymous classes properly
2021-09-15[trivial] remove unused importReinier Zwitserloot
2021-09-06Replace val with native final var in Java >= 10Rawi01
2021-08-17[fixes #2907] Keep record compact constructor parametersRawi01
2021-06-05[fixes #2863] Clone primitive typesRawi01
2021-06-04Merge pull request #2822 from FlorentMouysset/masterReinier Zwitserloot
Fix @CustomLog-key in lombok.config for some error messages. Issue #2821
2021-06-03[fixes #2838] Handle anonymous classes properlyRawi01
Generated qualified names (e.g. Outer.Inner) now stop at anonymous classes instead of adding an empty part. All handlers that add static fields/methods/types now add error messages instead of generating invalid code.
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-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[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-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-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 #2772 from janrieke/superBuilderNPEwithSingularReinier Zwitserloot
[fixes #2701] fix NPE on customized SuperBuilder with Singular
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.