Class MethodInvocationMethodSelect

java.lang.Object
com.google.errorprone.matchers.MethodInvocationMethodSelect
All Implemented Interfaces:
Matcher<com.sun.source.tree.MethodInvocationTree>, Serializable

public class MethodInvocationMethodSelect
extends Object
implements Matcher<com.sun.source.tree.MethodInvocationTree>
Adapts a matcher on MethodInvocationTree to match the MethodSelect of the MethodInvocation.
Author:
alexeagle@google.com (Alex Eagle)
See Also:
Serialized Form
  • Constructor Details

    • MethodInvocationMethodSelect

      public MethodInvocationMethodSelect​(Matcher<com.sun.source.tree.ExpressionTree> methodSelectMatcher)
  • Method Details

    • matches

      public boolean matches​(com.sun.source.tree.MethodInvocationTree item, VisitorState state)
      Specified by:
      matches in interface Matcher<com.sun.source.tree.MethodInvocationTree>