Package org.openrewrite.java.search
Class ClasspathTypeCounts
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<Set<ClasspathTypeCounts.ProjectSourceSet>>
org.openrewrite.java.search.ClasspathTypeCounts
- All Implemented Interfaces:
Cloneable
public class ClasspathTypeCounts
extends org.openrewrite.ScanningRecipe<Set<ClasspathTypeCounts.ProjectSourceSet>>
-
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(Set<ClasspathTypeCounts.ProjectSourceSet> 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
-
ClasspathTypeCounts
public ClasspathTypeCounts()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getInitialValue
public Set<ClasspathTypeCounts.ProjectSourceSet> getInitialValue(org.openrewrite.ExecutionContext ctx) - Specified by:
getInitialValuein classorg.openrewrite.ScanningRecipe<Set<ClasspathTypeCounts.ProjectSourceSet>>
-
getScanner
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getScanner(Set<ClasspathTypeCounts.ProjectSourceSet> acc) - Specified by:
getScannerin classorg.openrewrite.ScanningRecipe<Set<ClasspathTypeCounts.ProjectSourceSet>>
-
generate
public Collection<? extends org.openrewrite.SourceFile> generate(Set<ClasspathTypeCounts.ProjectSourceSet> acc, org.openrewrite.ExecutionContext ctx) - Overrides:
generatein classorg.openrewrite.ScanningRecipe<Set<ClasspathTypeCounts.ProjectSourceSet>>
-