Package org.openrewrite.java
Class DeleteMethodArgument
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.DeleteMethodArgument
- All Implemented Interfaces:
Cloneable
public class DeleteMethodArgument
extends org.openrewrite.Recipe
This recipe finds method invocations matching a method pattern and uses a zero-based argument index to determine
which argument is removed.
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
NOOP, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaVisitor<org.openrewrite.ExecutionContext>JavaVisitor<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, getSingleSourceApplicableTests, getTags, hashCode, noop, run, run, run, run, validate, validate, validateAll, validateAll, visit
-
Constructor Details
-
DeleteMethodArgument
public DeleteMethodArgument()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
getSingleSourceApplicableTest
- Overrides:
getSingleSourceApplicableTestin classorg.openrewrite.Recipe
-
getVisitor
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-