MethodMatcherArrayEndingMethodMatcher, DirectMethodMatcherpublic abstract class AbstractNodeMethodMatcher extends AbstractMethodMatcher
| Constructor | Description |
|---|---|
AbstractNodeMethodMatcher(MethodMatcherContext context) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract java.util.List<java.util.Set<InjectableParameter>> |
getConformanceInjectsOrder() |
|
java.lang.Object[] |
getConformingArguments() |
If possible gives an array consumable by java method invoker.
|
protected Parameter[] |
getConformingParameters() |
|
protected boolean |
hasConformance() |
Checks if the arguments conform to the method.
|
protected abstract boolean |
match(Parameter[] parameters,
java.lang.Object[] arguments) |
Checks if its possible to gives an array consumable by java method invoker.
|
protected abstract java.lang.Object[] |
matchingArguments(Parameter[] parameters,
java.lang.Object[] arguments) |
If possible gives an array consumable by java method invoker.
|
conforms, getConforms, getContextpublic AbstractNodeMethodMatcher(MethodMatcherContext context)
protected Parameter[] getConformingParameters()
protected boolean hasConformance()
hasConformance in class AbstractMethodMatcherprotected abstract java.util.List<java.util.Set<InjectableParameter>> getConformanceInjectsOrder()
protected abstract boolean match(Parameter[] parameters, java.lang.Object[] arguments)
parameters - array of parameter instances under question.arguments - instances to be verified.public java.lang.Object[] getConformingArguments()
protected abstract java.lang.Object[] matchingArguments(Parameter[] parameters, java.lang.Object[] arguments)
parameters - array of parameter instances under question.arguments - instances to conform.