Package | Description |
---|---|
org.testng.internal.reflect |
Modifier and Type | Field and Description |
---|---|
static java.util.Set<InjectableParameter> |
InjectableParameter.Assistant.ALL_INJECTS |
static java.util.Set<InjectableParameter> |
InjectableParameter.Assistant.NONE |
Modifier and Type | Method and Description |
---|---|
static InjectableParameter |
InjectableParameter.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InjectableParameter[] |
InjectableParameter.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.List<java.util.Set<InjectableParameter>> |
AbstractNodeMethodMatcher.getConformanceInjectsOrder() |
protected java.util.List<java.util.Set<InjectableParameter>> |
ArrayEndingMethodMatcher.getConformanceInjectsOrder() |
protected java.util.List<java.util.Set<InjectableParameter>> |
DirectMethodMatcher.getConformanceInjectsOrder() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
ReflectionRecipes.canInject(Parameter parameter,
InjectableParameter injectableParameter) |
Modifier and Type | Method and Description |
---|---|
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.
|
private static java.lang.Object[] |
ReflectionRecipes.nativelyInject(Parameter[] parameters,
java.util.Set<InjectableParameter> filters,
java.lang.Object[] args,
java.lang.Object injectionMethod,
ITestContext context,
ITestResult testResult) |