Find uses of deprecated fields

Apache 2.0

Find uses of deprecated fields in any API.

org.openrewrite.java.search.FindDeprecatedFields

Optional

A type pattern that is used to find matching field uses.

matchInheritedBoolean

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

ignoreDeprecatedScopesBoolean

When a deprecated method is used in a deprecated method or class, ignore it.

mod run . --recipe=org.openrewrite.java.search.FindDeprecatedFields

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