Find fields

Apache 2.0

Find uses of a field.

org.openrewrite.java.search.FindFields

Required

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

The name of a field on the type.

Optional

matchInheritedBoolean

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

mod run . --recipe=org.openrewrite.java.search.FindFields \ -P fullyQualifiedTypeName=com.fasterxml.jackson.core.json.JsonWriteFeature \ -P fieldName=QUOTE_FIELD_NAMES

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