Package org.openrewrite.java
Class ChangeMethodTargetToStatic
- java.lang.Object
-
- org.openrewrite.Recipe
-
- org.openrewrite.java.ChangeMethodTargetToStatic
-
public class ChangeMethodTargetToStatic extends org.openrewrite.Recipe
-
-
Constructor Summary
Constructors Constructor Description ChangeMethodTargetToStatic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getDisplayName()
protected JavaVisitor<org.openrewrite.ExecutionContext>
getSingleSourceApplicableTest()
JavaVisitor<org.openrewrite.ExecutionContext>
getVisitor()
-
Methods inherited from class org.openrewrite.Recipe
causesAnotherCycle, doNext, equals, getApplicableTest, getDescriptor, getEstimatedEffortPerOccurrence, getJacksonPolymorphicTypeTag, getLanguages, getName, getRecipeList, getTags, hashCode, run, run, run, run, validate, validate, validateAll, validateAll, visit
-
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in classorg.openrewrite.Recipe
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescription
in classorg.openrewrite.Recipe
-
getSingleSourceApplicableTest
protected JavaVisitor<org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()
- Overrides:
getSingleSourceApplicableTest
in classorg.openrewrite.Recipe
-
getVisitor
public JavaVisitor<org.openrewrite.ExecutionContext> getVisitor()
- Overrides:
getVisitor
in classorg.openrewrite.Recipe
-
-