Package org.openrewrite.java.search
Class FindTypeMappings
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<Map<FindTypeMappings.TypeAssociation,Integer>>
org.openrewrite.java.search.FindTypeMappings
- All Implemented Interfaces:
Cloneable
public class FindTypeMappings
extends org.openrewrite.ScanningRecipe<Map<FindTypeMappings.TypeAssociation,Integer>>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.openrewrite.Recipe
org.openrewrite.Recipe.Builder, org.openrewrite.Recipe.DelegatingRecipe -
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.openrewrite.SourceFile>generate(Map<FindTypeMappings.TypeAssociation, Integer> acc, org.openrewrite.ExecutionContext ctx) getInitialValue(org.openrewrite.ExecutionContext ctx) org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> Methods inherited from class org.openrewrite.ScanningRecipe
generate, getAccumulator, getVisitor, getVisitorMethods inherited from class org.openrewrite.Recipe
addDataTable, builder, buildRecipeList, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Constructor Details
-
FindTypeMappings
public FindTypeMappings()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getInitialValue
public Map<FindTypeMappings.TypeAssociation,Integer> getInitialValue(org.openrewrite.ExecutionContext ctx) - Specified by:
getInitialValuein classorg.openrewrite.ScanningRecipe<Map<FindTypeMappings.TypeAssociation,Integer>>
-
getScanner
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getScanner(Map<FindTypeMappings.TypeAssociation, Integer> acc) - Specified by:
getScannerin classorg.openrewrite.ScanningRecipe<Map<FindTypeMappings.TypeAssociation,Integer>>
-
generate
public Collection<? extends org.openrewrite.SourceFile> generate(Map<FindTypeMappings.TypeAssociation, Integer> acc, org.openrewrite.ExecutionContext ctx) - Overrides:
generatein classorg.openrewrite.ScanningRecipe<Map<FindTypeMappings.TypeAssociation,Integer>>
-