Class MethodInvocationMatcher.Rule

java.lang.Object
com.google.errorprone.matchers.method.MethodInvocationMatcher.Rule
Enclosing class:
MethodInvocationMatcher

public abstract static class MethodInvocationMatcher.Rule extends Object
A rule describing a set of constraints for a method invocation. For each TokenType, a Rule specifies 0 or more Tokens describing what values are allowed for that type.

This is part of the low-level API for constructing Rule objects dynamically. Consider using the fluent API from MethodMatcher, and the associated helpers in Matchers, when possible.