Find types

Apache 2.0

Find type references by name.

org.openrewrite.java.search.FindTypes

Required

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.List

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