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