aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-04-22[fixes #2624] Resolve variables in switch expressionsRawi01
2021-04-18[fixes #2460][fixes #2462] Cleanup internal argument cacheRawi01
2021-04-18Merge pull request #2811 from Rawi01/eclipse-java-16-inaccessibleReinier Zwitserloot
Use MethodHandler instead of reflective defineClass
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-11[fixes #2810] Use MethodHandler instead of reflective defineClassRawi01
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-02[build] fix the website maker's all-versions toolReinier Zwitserloot
2021-04-02Fixes #2803 Manual merge, hide generated code from some Eclipse refactoringsRoel Spilker
2021-04-01[record] Print compact constructor after class nameRawi01
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[testing] wahey, ecj testing works again, and now we can test JDK16 features ↵Reinier Zwitserloot
in it!
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-23[delombok] [prettyprinter] add support for the compact record constructorReinier Zwitserloot
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[jdk16] Add lombok opens in single locationmd_5
Fixes awhitford/lombok.maven#47
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[ecj] [bug-workarounds]Reinier Zwitserloot
The last comment in a line is lost if the array handed to the scanner is exactly sized to the input to process.
2021-03-19[jdk16] fix delombok (and the test suite, which depends on it) for jdk16.Reinier Zwitserloot
2021-03-19[jdk16] JCBindingPattern now has a field names var instead of separate fieldsRoel Spilker
2021-03-19[jdk16] TypeSymbol.isLocal has been renamedRoel Spilker
2021-03-19[testing] restore the printing of the actual/expected when tests fail.Reinier Zwitserloot
2021-03-19[testing] improve the output of `ant test`.Reinier Zwitserloot
2021-03-19[jdk16] forget optimization...Roel Spilker
2021-03-19[jdk16] delombokRoel Spilker
2021-03-19[jdk16] dockerRoel Spilker
[jdk16] delombok
2021-03-18[build] the new spi processor didn't handle inner types used as SPI targets.Reinier Zwitserloot
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