Package org.openrewrite.java.search
Class FindFieldsOfType
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.search.FindFieldsOfType
- All Implemented Interfaces:
Cloneable
public class FindFieldsOfType
extends org.openrewrite.Recipe
Finds fields that have a matching type.
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
NOOP, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<J.VariableDeclarations>org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> Methods inherited from class org.openrewrite.Recipe
addApplicableTest, addDataTable, addSingleSourceApplicableTest, causesAnotherCycle, clone, doNext, equals, getApplicableTest, getApplicableTests, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getJacksonPolymorphicTypeTag, getLanguages, getName, getRecipeList, getSingleSourceApplicableTest, getSingleSourceApplicableTests, getTags, hashCode, noop, run, run, run, run, validate, validate, validateAll, validateAll, visit
-
Constructor Details
-
FindFieldsOfType
public FindFieldsOfType()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
getVisitor
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()- Overrides:
getVisitorin classorg.openrewrite.Recipe
-
find
-