Class ModuleHasDependency
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<Set<org.openrewrite.java.marker.JavaProject>>
org.openrewrite.java.dependencies.search.ModuleHasDependency
- All Implemented Interfaces:
Cloneable
public class ModuleHasDependency
extends org.openrewrite.ScanningRecipe<Set<org.openrewrite.java.marker.JavaProject>>
-
Nested Class Summary
Nested 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 TypeMethodDescriptionSet<org.openrewrite.java.marker.JavaProject> getInitialValue(org.openrewrite.ExecutionContext ctx) org.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> getScanner(Set<org.openrewrite.java.marker.JavaProject> acc) org.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> getVisitor(Set<org.openrewrite.java.marker.JavaProject> acc) Methods inherited from class org.openrewrite.ScanningRecipe
generate, generate, getAccumulator, 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
-
ModuleHasDependency
public ModuleHasDependency()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getInitialValue
public Set<org.openrewrite.java.marker.JavaProject> getInitialValue(org.openrewrite.ExecutionContext ctx) - Specified by:
getInitialValuein classorg.openrewrite.ScanningRecipe<Set<org.openrewrite.java.marker.JavaProject>>
-
getScanner
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getScanner(Set<org.openrewrite.java.marker.JavaProject> acc) - Specified by:
getScannerin classorg.openrewrite.ScanningRecipe<Set<org.openrewrite.java.marker.JavaProject>>
-
getVisitor
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor(Set<org.openrewrite.java.marker.JavaProject> acc) - Overrides:
getVisitorin classorg.openrewrite.ScanningRecipe<Set<org.openrewrite.java.marker.JavaProject>>
-