public class EasyParamSignature extends Object
EasyParamSignature
identifies a single test method parameter associated with the test method| Modifier and Type | Method and Description |
|---|---|
boolean |
canAcceptArrayType(Class<?> type) |
boolean |
canAcceptType(Class<?> candidate) |
<T extends Annotation> |
findDeepAnnotation(Class<T> annotationType) |
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Class<?> |
getGenericParameterArgType() |
Boolean |
getIsGenericParameter() |
Annotation[] |
getParameterAnnotations() |
Class<?> |
getParameterType() |
boolean |
hasAnnotation(Class<? extends Annotation> type) |
static List<EasyParamSignature> |
signatures(Constructor<?> constructor) |
static ArrayList<EasyParamSignature> |
signatures(Method method) |
public static ArrayList<EasyParamSignature> signatures(Method method)
public static List<EasyParamSignature> signatures(Constructor<?> constructor)
public boolean canAcceptType(Class<?> candidate)
public Boolean getIsGenericParameter()
public Class<?> getGenericParameterArgType()
public Class<?> getParameterType()
public Annotation[] getParameterAnnotations()
public boolean canAcceptArrayType(Class<?> type)
public boolean hasAnnotation(Class<? extends Annotation> type)
public <T extends Annotation> T findDeepAnnotation(Class<T> annotationType)
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
Copyright © 2014. All rights reserved.