aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
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-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-03-04Merge pull request #2754 from Rawi01/npe-nonStaticAccessReinier Zwitserloot
Save problem handler state for postponed error handling
2021-03-04Merge pull request #2742 from Rawi01/ecj-fixesReinier Zwitserloot
Fix compilation using ecj
2021-02-25[fixes #2756] Mark generated UtilityClass constructor as generatedRawi01
2021-02-17[fixes #2752] Save problem handler state for postponed error handlingRawi01
2021-02-07[fixes #2741] Handle inner method invocations firstRawi01
2021-02-07Fix ecj classloadingRawi01
2021-02-07Move eclipse only code for Delegate into own classRawi01
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-04Merge pull request #2734 from Rawi01/data-equals-warningReinier Zwitserloot
Only show super()-warning if lombok generates a method
2021-02-04[issue #2730] Javadoc generated by lombok in javac now gets its position set.Reinier Zwitserloot
This may fix 'IllegalArgumentException' errors when using google errorprone.
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[versioning] post-release version bumpReinier Zwitserloot
2021-01-28[versioning] pre-release version bumpReinier Zwitserloot
2021-01-28Validate positions during testsRawi01
2021-01-28[fixes #2691] Add end positions to all generated nodesRawi01
2021-01-21[fixes #2716] SuperBuilder now skips initializers while gathering typesRawi01