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 canAcceptField(java.lang.reflect.Field field)
           
 boolean canAcceptMethod(java.lang.reflect.Method method)
           
static ParameterSupplier fieldParameterSupplier(java.lang.Class<?> targetClass)
           
 ParameterSupplier getAnnotatedSupplier()
           
 java.util.List<PotentialParameterValue> getPotentialValues(java.lang.Object container)
           
 ParametersSuppliedBy getSupplier(java.lang.annotation.Annotation annotation)
           
 ParameterSupplier getSupplier(java.lang.Class<?> targetClass)
           
 java.lang.annotation.Annotation getSupplierAnnotation()
           
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)

getSupplierAnnotation

public java.lang.annotation.Annotation getSupplierAnnotation()

getSupplier

public ParametersSuppliedBy getSupplier(java.lang.annotation.Annotation annotation)

canAcceptField

public boolean canAcceptField(java.lang.reflect.Field field)

canAcceptMethod

public boolean canAcceptMethod(java.lang.reflect.Method method)

getAnnotatedSupplier

public ParameterSupplier getAnnotatedSupplier()
                                       throws java.lang.InstantiationException,
                                              java.lang.IllegalAccessException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException

getSupplier

public ParameterSupplier getSupplier(java.lang.Class<?> targetClass)
                              throws java.lang.InstantiationException,
                                     java.lang.IllegalAccessException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException

getPotentialValues

public java.util.List<PotentialParameterValue> getPotentialValues(java.lang.Object container)
                                                           throws java.lang.InstantiationException,
                                                                  java.lang.IllegalAccessException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException

fieldParameterSupplier

public static ParameterSupplier fieldParameterSupplier(java.lang.Class<?> targetClass)