public interface IAnnotationFinder
Modifier and Type | Method and Description |
---|---|
<A extends IAnnotation> |
findAnnotation(java.lang.Class<?> cls,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
findAnnotation(java.lang.reflect.Constructor<?> cons,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
findAnnotation(ConstructorOrMethod com,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
findAnnotation(ITestNGMethod m,
java.lang.Class<A> annotationClass) |
<A extends IAnnotation> |
findAnnotation(java.lang.reflect.Method m,
java.lang.Class<A> annotationClass) |
java.lang.String[] |
findOptionalValues(java.lang.reflect.Constructor ctor) |
java.lang.String[] |
findOptionalValues(java.lang.reflect.Method method) |
boolean |
hasTestInstance(java.lang.reflect.Method method,
int i) |
<A extends IAnnotation> A findAnnotation(java.lang.Class<?> cls, java.lang.Class<A> annotationClass)
cls
- annotationClass
- <A extends IAnnotation> A findAnnotation(java.lang.reflect.Method m, java.lang.Class<A> annotationClass)
m
- annotationClass
- <A extends IAnnotation> A findAnnotation(ITestNGMethod m, java.lang.Class<A> annotationClass)
<A extends IAnnotation> A findAnnotation(ConstructorOrMethod com, java.lang.Class<A> annotationClass)
<A extends IAnnotation> A findAnnotation(java.lang.reflect.Constructor<?> cons, java.lang.Class<A> annotationClass)
cons
- annotationClass
- boolean hasTestInstance(java.lang.reflect.Method method, int i)
java.lang.String[] findOptionalValues(java.lang.reflect.Method method)
null
if the parameter isn't optional)java.lang.String[] findOptionalValues(java.lang.reflect.Constructor ctor)
null
if the parameter isn't optional)