public abstract class AbstractNodeMethodMatcher extends AbstractMethodMatcher
Modifier and Type | Field and Description |
---|---|
private java.util.Set<InjectableParameter> |
conformingInjects |
private Parameter[] |
conformingParameters |
Constructor and Description |
---|
AbstractNodeMethodMatcher(MethodMatcherContext context) |
Modifier and Type | Method and 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 java.util.Set<InjectableParameter> |
getConformingInjects() |
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, getContext
private Parameter[] conformingParameters
private java.util.Set<InjectableParameter> conformingInjects
public AbstractNodeMethodMatcher(MethodMatcherContext context)
protected Parameter[] getConformingParameters()
protected java.util.Set<InjectableParameter> getConformingInjects()
protected boolean hasConformance()
hasConformance
in class AbstractMethodMatcher
protected 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() throws MethodMatcherException
MethodMatcherException
- internal failure or non-conformanceprotected abstract java.lang.Object[] matchingArguments(Parameter[] parameters, java.lang.Object[] arguments)
parameters
- array of parameter instances under question.arguments
- instances to conform.