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