Package | Description |
---|---|
org.testng.internal.reflect |
Modifier and Type | Method and Description |
---|---|
static Parameter[] |
ReflectionRecipes.filter(Parameter[] parameters,
Set<InjectableParameter> filters)
Omits 1.
|
protected Parameter[] |
AbstractNodeMethodMatcher.getConformingParameters() |
static Parameter[] |
ReflectionRecipes.getConstructorParameters(Constructor constructor)
Extracts constructor parameters.
|
Parameter[] |
MethodMatcherContext.getMethodParameter() |
static Parameter[] |
ReflectionRecipes.getMethodParameters(Method method)
Extracts method parameters.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2018. All rights reserved.