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