Interface MethodMatchers.MethodMatcher

All Superinterfaces:
Matcher<com.sun.source.tree.ExpressionTree>, Serializable
All Known Subinterfaces:
MethodMatchers.AnyMethodMatcher, MethodMatchers.ConstructorClassMatcher, MethodMatchers.ConstructorMatcher, MethodMatchers.InstanceMethodMatcher, MethodMatchers.MethodClassMatcher, MethodMatchers.MethodNameMatcher, MethodMatchers.MethodSignatureMatcher, MethodMatchers.ParameterMatcher, MethodMatchers.StaticMethodMatcher
Enclosing class:
MethodMatchers

@Deprecated
public static interface MethodMatchers.MethodMatcher
extends Matcher<com.sun.source.tree.ExpressionTree>
Deprecated.
use Matcher<ExpressionTree> instead of referring directly to this type.
  • Method Summary

    Modifier and Type Method Description
    Optional<MethodInvocationMatcher.Rule> asRule()
    Deprecated.
    A rule for expressing this matcher as a MethodInvocationMatcher, if possible.

    Methods inherited from interface com.google.errorprone.matchers.Matcher

    matches
  • Method Details

    • asRule

      Deprecated.
      A rule for expressing this matcher as a MethodInvocationMatcher, if possible. If this matcher uses predicates not supported by the MethodInvocationMatcher evaluator, this method will return empty().