Class DeclaresMethod<P>

java.lang.Object
org.openrewrite.TreeVisitor<J,P>
org.openrewrite.java.JavaVisitor<P>
org.openrewrite.java.JavaIsoVisitor<P>
org.openrewrite.java.search.DeclaresMethod<P>

public class DeclaresMethod<P> extends JavaIsoVisitor<P>
  • Constructor Details

    • DeclaresMethod

      public DeclaresMethod(String methodPattern)
    • DeclaresMethod

      public DeclaresMethod(String methodPattern, @Nullable @Nullable Boolean matchesOverrides)
    • DeclaresMethod

      public DeclaresMethod(String methodPattern, boolean matchesOverrides)
    • DeclaresMethod

      public DeclaresMethod(MethodMatcher methodMatcher)
  • Method Details