org.junit.contrib.theories
Class ParameterSignature

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

public class ParameterSignature
extends Object


Method Summary
 boolean canAcceptType(Type candidate)
           
 boolean canAcceptValue(Object candidate)
           
 boolean canPotentiallyAcceptType(Class<?> candidate)
           
<T extends Annotation>
T
findDeepAnnotation(Class<T> annotationType)
           
<T extends Annotation>
T
getAnnotation(Class<T> annotationType)
           
 List<Annotation> getAnnotations()
           
 Type getType()
           
 boolean hasAnnotation(Class<? extends Annotation> type)
           
static List<ParameterSignature> signatures(Constructor<?> constructor)
           
static List<ParameterSignature> signatures(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 List<ParameterSignature> signatures(Method method)

signatures

public static List<ParameterSignature> signatures(Constructor<?> constructor)

canAcceptValue

public boolean canAcceptValue(Object candidate)

canAcceptType

public boolean canAcceptType(Type candidate)

canPotentiallyAcceptType

public boolean canPotentiallyAcceptType(Class<?> candidate)

getType

public Type getType()

getAnnotations

public List<Annotation> getAnnotations()

hasAnnotation

public boolean hasAnnotation(Class<? extends Annotation> type)

findDeepAnnotation

public <T extends Annotation> T findDeepAnnotation(Class<T> annotationType)

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType)


Copyright © 2014. All Rights Reserved.