Find types
Apache 2.0Find type references by name.
org. openrewrite. java. search. FindTypesRequired
A fully-qualified type name, that is used to find matching type references. Supports glob expressions. java..* finds every type from every subpackage of the java package.
Optional
checkAssignabilityBoolean
When enabled, find type references that are assignable to the provided type.
mod run . --recipe= org. openrewrite. java. search. FindTypes \
-P fullyQualifiedTypeName= java. util. ListInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.