aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac
AgeCommit message (Collapse)Author
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.
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-12[fixes #2701] fix NPE on customized SuperBuilder with SingularJan Rieke
2021-03-12rename method; use null instead of empty stringJan 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-02-07[fixes #2741] Handle inner method invocations firstRawi01
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
2021-02-01[fixes #1538] Use Enter and MemberEnter to update type mirrorsRawi01
2021-01-31[fixes #1064] Only show super()-warning if lombok generates a methodRawi01
2021-01-31[fixes #2692] Add missing checker annotations in SuperBuilderRawi01
2021-01-28[fixes #2691] Add end positions to all generated nodesRawi01
2021-01-15Improve Javadoc and consistently use SourceVersion.latest().Christian Schlichtherle