public class ParameterSignature extends Object
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) |
List<Annotation> |
getAnnotations() |
Class<?> |
getType() |
boolean |
hasAnnotation(Class<? extends Annotation> type) |
static List<ParameterSignature> |
signatures(Constructor<?> constructor) |
static ArrayList<ParameterSignature> |
signatures(Method method) |
public static ArrayList<ParameterSignature> signatures(Method method)
public static List<ParameterSignature> signatures(Constructor<?> constructor)
public boolean canAcceptType(Class<?> candidate)
public Class<?> getType()
public List<Annotation> getAnnotations()
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)