Find uses of deprecated classes
Apache 2.0Find uses of deprecated classes, optionally ignoring those classes that are inside deprecated scopes.
org. openrewrite. java. search. FindDeprecatedClassesOptional
A type pattern that is used to find matching classes.
matchInheritedBoolean
When enabled, find types that inherit from a deprecated type.
ignoreDeprecatedScopesBoolean
When a deprecated type is used in a deprecated method or class, ignore it.
mod run . --recipe= org. openrewrite. java. search. FindDeprecatedClassesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.