| Modifier and Type | Method and Description |
|---|---|
| public < The expected A extends IAnnotation> AIAnnotation type | Returns: The annotation on the class or null if none found.- The corresponding class. cls, Class<A> - The class on which annotation is to be looked for. annotationClass)
|
| public < The expected A extends IAnnotation> AIAnnotation type | Returns: The annotation on the method. If not found, return the annotation on the declaring class. If not found, return null.- The corresponding m, Class<A> Method- The class on which annotation is to be looked for. annotationClass)
|
| public <A extends IAnnotation> A | |
| public <A extends IAnnotation> A | |
| public <A extends IAnnotation> A | |
| public < The expected A extends IAnnotation> AIAnnotation type | Returns: The annotation on the method. If not found, return the annotation on the declaring class. If not found, return null.- The corresponding cons, Class<A> Constructor- The class on which annotation is to be looked for. annotationClass)
|
| public < - The expected A extends IAnnotation> ListIAnnotation type | Returns: The annotations on the inherited interfaces. If not found, return the annotations on the declaring interface. If not found, return an empty list.- The corresponding class. cls, Class<A> - The class on which annotation is to be looked for. annotationClass)
|
| public String[] | Returns: the @Optional values of this method's parameters (null if the parameter
isn't optional)The method)Method
|
| public String[] | Returns: the @Optional values of this method's parameters (null if the parameter
isn't optional)The ctor)Constructor
|
| public boolean | Returns: true if the ith parameter of the given method has the annotation @TestInstance.The method, int MethodThe parameter index i)
|
| findAnnotation | back to summary |
|---|---|
public <A extends IAnnotation> A findAnnotation(Class<?> cls, Class<A> annotationClass)
| |
| findAnnotation | back to summary |
|---|---|
public <A extends IAnnotation> A findAnnotation(Method m, Class<A> annotationClass)
| |
| findAnnotation | back to summary |
|---|---|
| public <A extends IAnnotation> A findAnnotation(ITestNGMethod m, Class<A> annotationClass) | |
| findAnnotation | back to summary |
|---|---|
| public <A extends IAnnotation> A findAnnotation(ConstructorOrMethod com, Class<A> annotationClass) | |
| findAnnotation | back to summary |
|---|---|
| public <A extends IAnnotation> A findAnnotation(Class<?> clazz, Method m, Class<A> annotationClass) | |
| findAnnotation | back to summary |
|---|---|
public <A extends IAnnotation> A findAnnotation(Constructor<?> cons, Class<A> annotationClass)
| |
| findInheritedAnnotations | back to summary |
|---|---|
public <A extends IAnnotation> List
| |
| findOptionalValues | back to summary |
|---|---|
| public String[] findOptionalValues(Method method) | |
| findOptionalValues | back to summary |
|---|---|
public String[] findOptionalValues(Constructor<?> ctor)
| |
| hasTestInstance | back to summary |
|---|---|
public boolean hasTestInstance(Method method, int i)
| |