Class MethodMatcherFactory
java.lang.Object
tech.picnic.errorprone.bugpatterns.util.MethodMatcherFactory
A method invocation expression
Matcher factory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.errorprone.matchers.Matcher<ExpressionTree>create(Collection<String> signatures) Creates aMatcherof methods with any of the given signatures.
-
Constructor Details
-
MethodMatcherFactory
public MethodMatcherFactory()Instantiates a newMethodMatcherFactoryinstance.
-
-
Method Details
-
create
Creates aMatcherof methods with any of the given signatures.- Parameters:
signatures- The method signatures of interest.- Returns:
- A new
Matcherwhich accepts invocation expressions of any method identified by the given signatures.
-