Get data table rows by class

MSAL

Replace calls to the deprecated RecipeRun.getDataTableRows(String) and RecipeRun.getDataTableRows(String, String) with their type-safe getDataTableRows(Class) and getDataTableRows(Class, String) counterparts, where the data table name is a class name literal or the getName() of a data table class.

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

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