Class MethodInvocationMatcher.Rule

Enclosing class:

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.