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 booleancanAcceptType(java.lang.Class<?> candidate)booleancanAcceptValue(java.lang.Object candidate)booleancanPotentiallyAcceptType(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()booleanhasAnnotation(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)
-
-