Class MethodMatcherFactory

java.lang.Object
tech.picnic.errorprone.bugpatterns.util.MethodMatcherFactory

public final class MethodMatcherFactory extends Object
A method invocation expression Matcher factory.
  • Constructor Details

    • MethodMatcherFactory

      public MethodMatcherFactory()
  • Method Details

    • create

      public com.google.errorprone.matchers.Matcher<ExpressionTree> create(Collection<String> signatures)
      Creates a Matcher of methods with any of the given signatures.
      Parameters:
      signatures - The method signatures of interest.
      Returns:
      A new Matcher which accepts invocation expressions of any method identified by the given signatures.