Package org.openrewrite.java.search
Class PotentiallyDeadCode
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.search.PotentiallyDeadCode
- All Implemented Interfaces:
Cloneable
@Incubating(since="7.20.0")
public class PotentiallyDeadCode
extends org.openrewrite.Recipe
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, NOOP, PANIC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openrewrite.Recipe
addApplicableTest, addApplicableTest, addDataTable, addSingleSourceApplicableTest, addSingleSourceApplicableTest, causesAnotherCycle, clone, createRecipeDescriptor, doNext, equals, getApplicableTest, getApplicableTests, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getJacksonPolymorphicTypeTag, getLanguages, getMaintainers, getName, getRecipeList, getSingleSourceApplicableTest, getSingleSourceApplicableTests, getTags, getVisitor, hashCode, noop, run, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Constructor Details
-
PotentiallyDeadCode
public PotentiallyDeadCode()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
visit
protected List<org.openrewrite.SourceFile> visit(List<org.openrewrite.SourceFile> before, org.openrewrite.ExecutionContext ctx) - Overrides:
visitin classorg.openrewrite.Recipe
-