public class JDK15AnnotationFinder extends java.lang.Object implements IAnnotationFinder
| Constructor and Description |
|---|
JDK15AnnotationFinder(IAnnotationTransformer transformer) |
| 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 tm,
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 method) |
java.lang.String[] |
findOptionalValues(java.lang.reflect.Method method) |
boolean |
hasTestInstance(java.lang.reflect.Method method,
int i) |
public JDK15AnnotationFinder(IAnnotationTransformer transformer)
public <A extends IAnnotation> A findAnnotation(java.lang.reflect.Method m, java.lang.Class<A> annotationClass)
findAnnotation in interface IAnnotationFinderpublic <A extends IAnnotation> A findAnnotation(ITestNGMethod tm, java.lang.Class<A> annotationClass)
findAnnotation in interface IAnnotationFinderpublic <A extends IAnnotation> A findAnnotation(ConstructorOrMethod com, java.lang.Class<A> annotationClass)
findAnnotation in interface IAnnotationFinderpublic <A extends IAnnotation> A findAnnotation(java.lang.Class<?> cls, java.lang.Class<A> annotationClass)
findAnnotation in interface IAnnotationFinderpublic <A extends IAnnotation> A findAnnotation(java.lang.reflect.Constructor<?> cons, java.lang.Class<A> annotationClass)
findAnnotation in interface IAnnotationFinderpublic boolean hasTestInstance(java.lang.reflect.Method method,
int i)
hasTestInstance in interface IAnnotationFinderpublic java.lang.String[] findOptionalValues(java.lang.reflect.Method method)
findOptionalValues in interface IAnnotationFindernull
if the parameter isn't optional)public java.lang.String[] findOptionalValues(java.lang.reflect.Constructor method)
findOptionalValues in interface IAnnotationFindernull
if the parameter isn't optional)