Replace cucumber-java8 step definitions with cucumber-java

MSAL

Replace StepDefinitionBody methods with StepDefinitionAnnotations on new methods with the same body, or, for a method reference, with a body calling the method it refers to.

org.openrewrite.cucumber.jvm.CucumberJava8StepDefinitionToCucumberJava
mod run . --recipe=org.openrewrite.cucumber.jvm.CucumberJava8StepDefinitionToCucumberJava

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