public class AnnotationHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Class[] |
CONFIGURATION_CLASSES |
Constructor and Description |
---|
AnnotationHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.annotation.Annotation |
findAnnotationSuperClasses(java.lang.Class<?> annotationClass,
java.lang.Class c) |
static IConfigurationAnnotation |
findConfiguration(IAnnotationFinder finder,
java.lang.reflect.Constructor ctor) |
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
ITestMethod s 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, 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)
ITestMethod
s to be
analysed.public static java.lang.annotation.Annotation findAnnotationSuperClasses(java.lang.Class<?> annotationClass, java.lang.Class c)