org.junit.experimental.theories
Class ParameterSignature
java.lang.Object
org.junit.experimental.theories.ParameterSignature
public class ParameterSignature
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)