Find fields of type

Apache 2.0

Finds declared fields matching a particular class name.

org.openrewrite.java.search.FindFieldsOfType

Required

A fully-qualified Java type name, that is used to find matching fields.

Optional

matchInheritedBoolean

When enabled, find types that inherit from a deprecated type.

mod run . --recipe=org.openrewrite.java.search.FindFieldsOfType \ -P fullyQualifiedTypeName=org.slf4j.api.Logger

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