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,
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
ITestMethod s to be analysed. |
static ITestAnnotation |
findTest(IAnnotationFinder finder,
java.lang.Class<?> cls) |
static ITestAnnotation |
findTest(IAnnotationFinder finder,
ITestNGMethod m) |
static ITestAnnotation |
findTest(IAnnotationFinder finder,
java.lang.reflect.Method m) |
static java.util.List<java.lang.Class<? extends IAnnotation>> |
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 IConfigurationAnnotation findConfiguration(IAnnotationFinder finder, ConstructorOrMethod m)
public static IConfigurationAnnotation findConfiguration(IAnnotationFinder finder, java.lang.reflect.Method m)
public static java.util.List<java.lang.Class<? extends IAnnotation>> 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 <A extends java.lang.annotation.Annotation> A findAnnotationSuperClasses(java.lang.Class<A> annotationClass, java.lang.Class<?> parameterClass)