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