static Class<?>[] |
ReflectionRecipes.classesFromParameters(Parameter[] parameters) |
Extracts class instances from parameters.
|
static boolean |
ReflectionRecipes.exactMatch(Parameter[] parameters,
Object[] args) |
Matches an array of parameters to an array of instances.
|
static Parameter[] |
ReflectionRecipes.filter(Parameter[] parameters,
Set<InjectableParameter> filters) |
Omits 1.
|
static Object[] |
ReflectionRecipes.inject(Parameter[] parameters,
Set<InjectableParameter> filters,
Object[] args,
Constructor constructor,
ITestContext context,
ITestResult testResult) |
Injects appropriate arguments.
|
static Object[] |
ReflectionRecipes.inject(Parameter[] parameters,
Set<InjectableParameter> filters,
Object[] args,
Method injectionMethod,
ITestContext context,
ITestResult testResult) |
Injects appropriate arguments.
|
static boolean |
ReflectionRecipes.lenientMatch(Parameter[] parameters,
Object[] args) |
Matches an array of parameters to an array of instances.
|
protected abstract boolean |
AbstractNodeMethodMatcher.match(Parameter[] parameters,
Object[] arguments) |
Checks if its possible to gives an array consumable by java method invoker.
|
protected boolean |
ArrayEndingMethodMatcher.match(Parameter[] parameters,
Object[] arguments) |
Checks if its possible to gives an array consumable by java method invoker.
|
protected boolean |
DirectMethodMatcher.match(Parameter[] parameters,
Object[] arguments) |
Checks if its possible to gives an array consumable by java method invoker.
|
static boolean |
ReflectionRecipes.matchArrayEnding(Parameter[] parameters,
Object[] param) |
|
protected abstract Object[] |
AbstractNodeMethodMatcher.matchingArguments(Parameter[] parameters,
Object[] arguments) |
If possible gives an array consumable by java method invoker.
|
protected Object[] |
ArrayEndingMethodMatcher.matchingArguments(Parameter[] parameters,
Object[] arguments) |
If possible gives an array consumable by java method invoker.
|
protected Object[] |
DirectMethodMatcher.matchingArguments(Parameter[] parameters,
Object[] arguments) |
If possible gives an array consumable by java method invoker.
|