Single @DocumentExample per test class

MSAL

Ensures there's only one @DocumentExample annotated @Test method per test class, so it is clear which test is the reference example. @ParameterizedTest methods are not supported.

org.openrewrite.java.recipes.SingleDocumentExample
mod run . --recipe=org.openrewrite.java.recipes.SingleDocumentExample

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.