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