public abstract class AbstractMethodMatcher extends java.lang.Object implements MethodMatcher
Modifier and Type | Field and Description |
---|---|
private ThreeStateBoolean |
conforms |
private MethodMatcherContext |
context |
Constructor and Description |
---|
AbstractMethodMatcher(MethodMatcherContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
conforms()
Checks if the arguments conform to the method.
|
protected ThreeStateBoolean |
getConforms() |
protected MethodMatcherContext |
getContext() |
protected abstract boolean |
hasConformance()
Checks if the arguments conform to the method.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConformingArguments
private final MethodMatcherContext context
private ThreeStateBoolean conforms
public AbstractMethodMatcher(MethodMatcherContext context)
protected MethodMatcherContext getContext()
protected ThreeStateBoolean getConforms()
public boolean conforms()
conforms
in interface MethodMatcher
protected abstract boolean hasConformance()
MethodMatcherException
- if any internal failure.