org.junit.experimental.theories
Class ParameterSignature

java.lang.Object
  extended by org.junit.experimental.theories.ParameterSignature

public class ParameterSignature
extends java.lang.Object


Method Summary
 boolean canAcceptArrayType(java.lang.Class<?> type)
           
 boolean canAcceptType(java.lang.Class<?> candidate)
           
<T extends java.lang.annotation.Annotation>
T
findDeepAnnotation(java.lang.Class<T> annotationType)
           
<T extends java.lang.annotation.Annotation>
T
getAnnotation(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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

canAcceptType

public boolean canAcceptType(java.lang.Class<?> candidate)

getType

public java.lang.Class<?> getType()

getAnnotations

public java.util.List<java.lang.annotation.Annotation> getAnnotations()

canAcceptArrayType

public boolean canAcceptArrayType(java.lang.Class<?> type)

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)