Apply var to generic method invocations
MSALApply var to variables initialized by invocations of generic methods. Invocations with neither type nor method arguments are left alone, as their type arguments are inferred from the declared type, which var would lose.
org. openrewrite. java. migrate. lang. var. UseVarForGenericMethodInvocationsmod run . --recipe= org. openrewrite. java. migrate. lang. var. UseVarForGenericMethodInvocationsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.