public class ParameterSignature extends Object
Modifier and Type | Method | Description |
---|---|---|
boolean |
canAcceptType(Class<?> candidate) |
|
boolean |
canAcceptValue(Object candidate) |
|
boolean |
canPotentiallyAcceptType(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 canAcceptValue(Object candidate)
public boolean canAcceptType(Class<?> candidate)
public boolean canPotentiallyAcceptType(Class<?> candidate)
public List<Annotation> getAnnotations()
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 © 2002–2018 JUnit. All rights reserved.