| Package | Description |
|---|---|
| org.testng.internal.reflect |
| Modifier and Type | Method | Description |
|---|---|---|
static Parameter[] |
ReflectionRecipes.filter(Parameter[] parameters,
java.util.Set<InjectableParameter> filters) |
Omits 1.
|
protected Parameter[] |
AbstractNodeMethodMatcher.getConformingParameters() |
|
static Parameter[] |
ReflectionRecipes.getConstructorParameters(java.lang.reflect.Constructor constructor) |
Extracts constructor parameters.
|
Parameter[] |
MethodMatcherContext.getMethodParameter() |
|
static Parameter[] |
ReflectionRecipes.getMethodParameters(java.lang.reflect.Method method) |
Extracts method parameters.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.Constructor constructor,
ITestContext context,
ITestResult testResult) |
Injects appropriate arguments.
|
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 abstract boolean |
AbstractNodeMethodMatcher.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 boolean |
DirectMethodMatcher.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 abstract java.lang.Object[] |
AbstractNodeMethodMatcher.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 java.lang.Object[] |
DirectMethodMatcher.matchingArguments(Parameter[] parameters,
java.lang.Object[] arguments) |
If possible gives an array consumable by java method invoker.
|