Add missing method implementations
MSALAdd a method to classes that implement the given interface but are missing the method.
org. openrewrite. java. migrate. AddMissingMethodImplementationRequired
The fully qualified name of the interface whose method may be missing from its implementations.
A method pattern matching the required method declaration.
Template of the method to add.
mod run . --recipe= org. openrewrite. java. migrate. AddMissingMethodImplementation \
-P fullyQualifiedClassName= com. yourorg. FooBar \
-P methodPattern= '*.. * hello(.. )' \
-P methodTemplateString= 'public String hello() { return \"Hello from #{}!\"; }'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.