Find uses of deprecated classes, methods, and fields
Apache 2.0Find deprecated uses of methods, fields, and types. Optionally ignore those classes that are inside deprecated scopes.
org. openrewrite. java. search. FindDeprecatedUsesOptional
A type pattern that is used to find deprecations from certain types.
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. FindDeprecatedUsesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.