Package org.jboss.arquillian.test.spi
Class TestClass
- java.lang.Object
-
- org.jboss.arquillian.test.spi.TestClass
-
public class TestClass extends Object
Wraps a class to be run, providing method validation and annotation searching.- Version:
- $Revision: $
- Author:
- thomas.diesler@jboss.com
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends Annotation>
AgetAnnotation(Class<A> annotation)Class<?>getJavaClass()MethodgetMethod(Class<? extends Annotation> annotation)Method[]getMethods(Class<? extends Annotation> annotation)StringgetName()booleanisAnnotationPresent(Class<? extends Annotation> annotation)
-
-
-
Constructor Detail
-
TestClass
public TestClass(Class<?> testClass)
-
-
Method Detail
-
getJavaClass
public Class<?> getJavaClass()
-
getName
public String getName()
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotation)
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annotation)
-
getMethod
public Method getMethod(Class<? extends Annotation> annotation)
-
getMethods
public Method[] getMethods(Class<? extends Annotation> annotation)
-
-