Transform classes that extend *ListenerSupport to implement the *Listener interfaces instead
MSALAs of 5.0 *Listener interfaces default methods (made possible by a Java 8 baseline) can be implemented directly without the need for the adapter.
org. openrewrite. java. spring. batch. ListenerSupportClassToInterfacemod run . --recipe= org. openrewrite. java. spring. batch. ListenerSupportClassToInterfaceInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Transform classes that extend a given class to implement the given interface instead
- Transform classes that extend a given class to implement the given interface instead
- Transform classes that extend a given class to implement the given interface instead
- Transform classes that extend a given class to implement the given interface instead
- Transform classes that extend a given class to implement the given interface instead