Class UsesAllMethods<P>

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

public class UsesAllMethods<P> extends JavaIsoVisitor<P>
Marks a JavaSourceFile as matching if all the passed methods are found.
  • Constructor Details

    • UsesAllMethods

      public UsesAllMethods(MethodMatcher... methodMatchers)
  • Method Details

    • visit

      public org.openrewrite.java.tree.J visit(@Nullable @Nullable org.openrewrite.Tree tree, P p)
      Overrides:
      visit in class org.openrewrite.TreeVisitor<org.openrewrite.java.tree.J,P>