Package org.junit.experimental.theories
Class ParameterSignature
- java.lang.Object
-
- org.junit.experimental.theories.ParameterSignature
-
public class ParameterSignature extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAcceptType(Class<?> candidate)
boolean
canAcceptValue(Object candidate)
boolean
canPotentiallyAcceptType(Class<?> candidate)
<T extends Annotation>
TfindDeepAnnotation(Class<T> annotationType)
<T extends Annotation>
TgetAnnotation(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)
-
-
-
Method Detail
-
signatures
public static ArrayList<ParameterSignature> signatures(Method method)
-
signatures
public static List<ParameterSignature> signatures(Constructor<?> constructor)
-
canAcceptValue
public boolean canAcceptValue(Object candidate)
-
canAcceptType
public boolean canAcceptType(Class<?> candidate)
-
canPotentiallyAcceptType
public boolean canPotentiallyAcceptType(Class<?> candidate)
-
getType
public Class<?> getType()
-
getAnnotations
public List<Annotation> getAnnotations()
-
hasAnnotation
public boolean hasAnnotation(Class<? extends Annotation> type)
-
findDeepAnnotation
public <T extends Annotation> T findDeepAnnotation(Class<T> annotationType)
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
-
-