public class AnnotationHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <A extends java.lang.annotation.Annotation> |
findAnnotationSuperClasses(java.lang.Class<A> annotationClass,
java.lang.Class parameterClass) |
static IConfigurationAnnotation |
findConfiguration(IAnnotationFinder finder,
java.lang.reflect.Constructor ctor) |
static IConfigurationAnnotation |
findConfiguration(IAnnotationFinder finder,
ConstructorOrMethod m) |
static IConfigurationAnnotation |
findConfiguration(IAnnotationFinder finder,
java.lang.reflect.Method m) |
static IFactoryAnnotation |
findFactory(IAnnotationFinder finder,
java.lang.reflect.Constructor c) |
static IFactoryAnnotation |
findFactory(IAnnotationFinder finder,
java.lang.reflect.Method m) |
static ITestNGMethod[] |
findMethodsWithAnnotation(java.lang.Class<?> rootClass,
java.lang.Class<? extends IAnnotation> annotationClass,
IAnnotationFinder annotationFinder,
XmlTest xmlTest)
Delegation method for creating the list of
ITestMethods to be
analysed. |
static ITestAnnotation |
findTest(IAnnotationFinder finder,
java.lang.Class<?> cls) |
static ITestAnnotation |
findTest(IAnnotationFinder finder,
java.lang.reflect.Constructor ctor) |
static ITestAnnotation |
findTest(IAnnotationFinder finder,
ITestNGMethod m) |
static ITestAnnotation |
findTest(IAnnotationFinder finder,
java.lang.reflect.Method m) |
static java.lang.Class[] |
getAllAnnotations() |
public static ITestAnnotation findTest(IAnnotationFinder finder, java.lang.Class<?> cls)
public static ITestAnnotation findTest(IAnnotationFinder finder, java.lang.reflect.Method m)
public static ITestAnnotation findTest(IAnnotationFinder finder, ITestNGMethod m)
public static IFactoryAnnotation findFactory(IAnnotationFinder finder, java.lang.reflect.Method m)
public static IFactoryAnnotation findFactory(IAnnotationFinder finder, java.lang.reflect.Constructor c)
public static ITestAnnotation findTest(IAnnotationFinder finder, java.lang.reflect.Constructor ctor)
public static IConfigurationAnnotation findConfiguration(IAnnotationFinder finder, ConstructorOrMethod m)
public static IConfigurationAnnotation findConfiguration(IAnnotationFinder finder, java.lang.reflect.Constructor ctor)
public static IConfigurationAnnotation findConfiguration(IAnnotationFinder finder, java.lang.reflect.Method m)
public static java.lang.Class[] getAllAnnotations()
public static ITestNGMethod[] findMethodsWithAnnotation(java.lang.Class<?> rootClass, java.lang.Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, XmlTest xmlTest)
ITestMethods to be
analysed.public static <A extends java.lang.annotation.Annotation> A findAnnotationSuperClasses(java.lang.Class<A> annotationClass,
java.lang.Class parameterClass)