org.junit.experimental.theories
Class ParameterSignature

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

public class ParameterSignature
extends Object


Method Summary
 boolean canAcceptType(Class<?> 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()
           
 Class<?> getType()
           
 boolean hasAnnotation(Class<? extends Annotation> type)
           
static List<ParameterSignature> signatures(Constructor<?> constructor)
           
static ArrayList<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 ArrayList<ParameterSignature> signatures(Method method)

signatures

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

canAcceptValue

public boolean canAcceptValue(Object candidate)

canAcceptType

public boolean canAcceptType(Class<?> candidate)

canPotentiallyAcceptType

public boolean canPotentiallyAcceptType(Class<?> candidate)

getType

public Class<?> 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 © 2002–2021 JUnit. All rights reserved.