Package | Description |
---|---|
org.testng.internal.reflect |
Modifier and Type | Field and Description |
---|---|
private Parameter[] |
AbstractNodeMethodMatcher.conformingParameters |
private Parameter[] |
MethodMatcherContext.methodParameter |
Modifier and Type | Method and Description |
---|---|
static Parameter[] |
ReflectionRecipes.filter(Parameter[] parameters,
java.util.Set<InjectableParameter> filters)
Omits 1.
|
protected Parameter[] |
AbstractNodeMethodMatcher.getConformingParameters() |
Parameter[] |
MethodMatcherContext.getMethodParameter() |
static Parameter[] |
ReflectionRecipes.getMethodParameters(java.lang.reflect.Method method)
Extracts method parameters.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
ReflectionRecipes.canInject(Parameter parameter,
InjectableParameter injectableParameter) |
static java.lang.Class<?>[] |
ReflectionRecipes.classesFromParameters(Parameter[] parameters)
Extracts class instances from parameters.
|
static boolean |
ReflectionRecipes.exactMatch(Parameter[] parameters,
java.lang.Object[] args)
Matches an array of parameters to an array of instances.
|
static Parameter[] |
ReflectionRecipes.filter(Parameter[] parameters,
java.util.Set<InjectableParameter> filters)
Omits 1.
|
static java.lang.Object[] |
ReflectionRecipes.inject(Parameter[] parameters,
java.util.Set<InjectableParameter> filters,
java.lang.Object[] args,
java.lang.reflect.Method injectionMethod,
ITestContext context,
ITestResult testResult)
Injects appropriate arguments.
|
static boolean |
ReflectionRecipes.lenientMatch(Parameter[] parameters,
java.lang.Object[] args)
Matches an array of parameters to an array of instances.
|
protected boolean |
DirectMethodMatcher.match(Parameter[] parameters,
java.lang.Object[] arguments)
Checks if its possible to gives an array consumable by java method invoker.
|
protected boolean |
ArrayEndingMethodMatcher.match(Parameter[] parameters,
java.lang.Object[] arguments)
Checks if its possible to gives an array consumable by java method invoker.
|
protected abstract boolean |
AbstractNodeMethodMatcher.match(Parameter[] parameters,
java.lang.Object[] arguments)
Checks if its possible to gives an array consumable by java method invoker.
|
static boolean |
ReflectionRecipes.matchArrayEnding(Parameter[] parameters,
java.lang.Object[] param) |
protected java.lang.Object[] |
DirectMethodMatcher.matchingArguments(Parameter[] parameters,
java.lang.Object[] arguments)
If possible gives an array consumable by java method invoker.
|
protected java.lang.Object[] |
ArrayEndingMethodMatcher.matchingArguments(Parameter[] parameters,
java.lang.Object[] arguments)
If possible gives an array consumable by java method invoker.
|
protected abstract java.lang.Object[] |
AbstractNodeMethodMatcher.matchingArguments(Parameter[] parameters,
java.lang.Object[] arguments)
If possible gives an array consumable by java method invoker.
|