| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map | |
| private final JDK15TagFactory | |
| private final IAnnotationTransformer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <A extends IAnnotation> A | findAnnotation(Method
- The corresponding m, Class<A> Method- The class on which annotation is to be looked for. annotationClass)Implements org. |
| public <A extends IAnnotation> A | findAnnotation(Class<?> clazz, Method m, Class<A> annotationClass)
Implements org. |
| public <A extends IAnnotation> A | findAnnotation(ITestNGMethod tm, Class<A> annotationClass)
Implements org. |
| public <A extends IAnnotation> A | findAnnotation(ConstructorOrMethod com, Class<A> annotationClass)
Implements org. |
| public <A extends IAnnotation> A | findAnnotation(Class<?>
- The corresponding class. cls, Class<A> - The class on which annotation is to be looked for. annotationClass)Implements org. |
| public <A extends IAnnotation> A | findAnnotation(Constructor<?>
- The corresponding cons, Class<A> Constructor- The class on which annotation is to be looked for. annotationClass)Implements org. |
| private <A extends IAnnotation> A | findAnnotation(Class<?> cls, Annotation a, Class<A> annotationClass, Class<?> testClass, Constructor<?> testConstructor, Method testMethod, Pair<Annotation, ?> p, Class<?> whichClass)
|
| private <A extends Annotation> A | |
| public <A extends IAnnotation> List | findInheritedAnnotations(Class<?>
- The corresponding class. cls, Class<A> - The class on which annotation is to be looked for. annotationClass)Implements org. |
| public String[] | findOptionalValues(Method
The method)MethodImplements org. |
| public String[] | findOptionalValues(Constructor<?>
The method)ConstructorImplements org. |
| private <A extends IAnnotation> void | findSuperInterface(Class<?> cls, Class<?> inter, Class<A> annotationClass, Class<? extends Annotation> a, List<A> annotations)
|
| public boolean | hasTestInstance(Method
The method, int MethodThe parameter index i)Implements org. |
| private String[] | |
| private void | transform(IAnnotation a, Class<?> testClass, Constructor<?> testConstructor, Method testMethod, Class<?> whichClass)
|
| m_annotationMap | back to summary |
|---|---|
| private final Map<Class<? extends IAnnotation>, Class<? extends Annotation>> m_annotationMap | |
| m_annotations | back to summary |
|---|---|
| private final Map<String, IAnnotation> m_annotations | |
| m_tagFactory | back to summary |
|---|---|
| private final JDK15TagFactory m_tagFactory | |
| m_transformer | back to summary |
|---|---|
| private final IAnnotationTransformer m_transformer | |
| JDK15AnnotationFinder | back to summary |
|---|---|
| public JDK15AnnotationFinder(IAnnotationTransformer transformer) | |
| findAnnotation | back to summary |
|---|---|
| public <A extends IAnnotation> A findAnnotation(Method m, Class<A> annotationClass) Implements org.
| |
| findAnnotation | back to summary |
|---|---|
| public <A extends IAnnotation> A findAnnotation(Class<?> clazz, Method m, Class<A> annotationClass) Implements org.
| |
| findAnnotation | back to summary |
|---|---|
| public <A extends IAnnotation> A findAnnotation(ITestNGMethod tm, Class<A> annotationClass) Implements org.
| |
| findAnnotation | back to summary |
|---|---|
| public <A extends IAnnotation> A findAnnotation(ConstructorOrMethod com, Class<A> annotationClass) Implements org.
| |
| findAnnotation | back to summary |
|---|---|
| public <A extends IAnnotation> A findAnnotation(Class<?> cls, Class<A> annotationClass) Implements org.
| |
| findAnnotation | back to summary |
|---|---|
| public <A extends IAnnotation> A findAnnotation(Constructor<?> cons, Class<A> annotationClass) Implements org.
| |
| findAnnotation | back to summary |
|---|---|
| private <A extends IAnnotation> A findAnnotation(Class<?> cls, Annotation a, Class<A> annotationClass, Class<?> testClass, Constructor<?> testConstructor, Method testMethod, Pair<Annotation, ?> p, Class<?> whichClass) | |
| findAnnotationInSuperClasses | back to summary |
|---|---|
| private <A extends Annotation> A findAnnotationInSuperClasses(Class<?> cls, Class<A> a) | |
| findInheritedAnnotations | back to summary |
|---|---|
| public <A extends IAnnotation> List Implements org.
| |
| findOptionalValues | back to summary |
|---|---|
| public String[] findOptionalValues(Method method) Implements org.
| |
| findOptionalValues | back to summary |
|---|---|
| public String[] findOptionalValues(Constructor<?> method) Implements org.
| |
| findSuperInterface | back to summary |
|---|---|
| private <A extends IAnnotation> void findSuperInterface(Class<?> cls, Class<?> inter, Class<A> annotationClass, Class<? extends Annotation> a, List<A> annotations) | |
| hasTestInstance | back to summary |
|---|---|
| public boolean hasTestInstance(Method method, int i) Implements org.
| |
| optionalValues | back to summary |
|---|---|
| private String[] optionalValues(Annotation[][] annotations) | |
| transform | back to summary |
|---|---|
| private void transform(IAnnotation a, Class<?> testClass, Constructor<?> testConstructor, Method testMethod, Class<?> whichClass) | |