Package org.testng.internal.reflect
Class AbstractNodeMethodMatcher
java.lang.Object
org.testng.internal.reflect.AbstractMethodMatcher
org.testng.internal.reflect.AbstractNodeMethodMatcher
- All Implemented Interfaces:
MethodMatcher
- Direct Known Subclasses:
ArrayEndingMethodMatcher
,DirectMethodMatcher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract List<Set<InjectableParameter>>
Object[]
If possible gives an array consumable by java method invoker.protected Parameter[]
protected boolean
Checks if the arguments conform to the method.protected abstract boolean
Checks if its possible to gives an array consumable by java method invoker.protected abstract Object[]
matchingArguments
(Parameter[] parameters, Object[] arguments) If possible gives an array consumable by java method invoker.Methods inherited from class org.testng.internal.reflect.AbstractMethodMatcher
conforms, getConforms, getContext
-
Field Details
-
conformingParameters
-
-
Constructor Details
-
AbstractNodeMethodMatcher
-
-
Method Details
-
getConformingParameters
-
hasConformance
protected boolean hasConformance()Checks if the arguments conform to the method.- Specified by:
hasConformance
in classAbstractMethodMatcher
- Returns:
- conformance
-
getConformanceInjectsOrder
- Returns:
- injects to check against.
-
match
Checks if its possible to gives an array consumable by java method invoker.- Parameters:
parameters
- array of parameter instances under question.arguments
- instances to be verified.- Returns:
- matches or not
-
getConformingArguments
If possible gives an array consumable by java method invoker.- Returns:
- conforming argument array
-
matchingArguments
If possible gives an array consumable by java method invoker.- Parameters:
parameters
- array of parameter instances under question.arguments
- instances to conform.- Returns:
- conforming argument array
-