What's Changed
- Support Scanning Recipes as preconditions in DeclarativeRecipe. by @sambsnyd in #5340
- refactor: Place
@DocumentExample
s tests at top by @timtebeek in #5345 - Revert "Workaround AnnotationMatcher NPE" by @knutwannheden in #5347
- Do not bring named parameters out of their containing MapExpression when in an Map with a prefixed space. by @Jenson3210 in #5351
- Add test for open issue after some other fixes by @Jenson3210 in #5354
- Add support for "new array" in Groovy parser. by @BrendanHart in #5321
- Do not bump transitive dependencies if there is a direct dependency also by @Jenson3210 in #5356
- Java - not unwrapping parens around switch expressions by @greg-at-moderne in #5359
- Groovy - safety check for variable names starting with type names (e.g. int) by @greg-at-moderne in #5360
- Allow parallel
RewriteTest
runs usingjavaVersion
by @timtebeek in #5350 - Add Maven plugin dependency with implied groupId by @timtebeek in #5367
- Override
asVisitor(VisitFunction2)
in Annotated Trait by @timtebeek in #5358 - Replace
J.MethodInvocation
s with constant by @MBoegers in #5366 - Drop unused JavaAIEditor and associated classes by @timtebeek in #5344
- Fix managed dependency equality around nullable classifier & type by @timtebeek in #5375
- Adopt
@EnabledForJreRange
over@Tag
by @timtebeek in #5377 - Simplify
UnknownType
check in Java 21 parser by @knutwannheden in #5385 - Capture exceptions during ScanningRecipe.generate() alongside other recipe errors by @sambsnyd in #5386
- Improve UnfoldProperties recipe by @jevanlingen in #5312
- Associate CustomImportOrderStyle with Checkstyle styles by @mankoffs in #5381
- Fix RecipeRunStats showing "0.99" in the percentile columns rather than the actual values by @sambsnyd in #5390
- ParenthesizeVisitor to always parenthesize switch expressions by @greg-at-moderne in #5388
- Enable basic support for
@SuperBuilder
by @yuri1969 in #5370 - Added Java parser tests for constructors, with some statements before super/this by @JohannisK in #5396
- Support Checkstyle UnusedImports by @sergii-melnyk in #5389
- Reduce the size of the match string in
TextMatches
data table by @knutwannheden in #4874
New Contributors
- @mankoffs made their first contribution in #5381
- @yuri1969 made their first contribution in #5370
- @sergii-melnyk made their first contribution in #5389
Full Changelog: v8.51.0...v8.52.0