Open Philzen opened 2 months ago
This feature is implemented and available on main
via the org.openrewrite.java.testing.junit5.AddMissingNested
recipe.
However it should be reviewed that inner classes that don't have both public
and static
are not annotated / changed, thus leaving this issue open for review now.
Simply add
@Nested
annotation topublic static
inner classes and remove theirstatic
keyword.