org.jboss.jsr299.tck.tests.extensions.annotated
Class TestAnnotatedType<X>

java.lang.Object
  extended by org.jboss.jsr299.tck.tests.extensions.annotated.TestAnnotatedType<X>
All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedType<X>

public class TestAnnotatedType<X>
extends Object
implements javax.enterprise.inject.spi.AnnotatedType<X>


Constructor Summary
TestAnnotatedType(javax.enterprise.inject.spi.AnnotatedType<X> delegate, Annotation... annotations)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> arg0)
           
 Set<Annotation> getAnnotations()
           
 Type getBaseType()
           
 Set<javax.enterprise.inject.spi.AnnotatedConstructor<X>> getConstructors()
           
 Set<javax.enterprise.inject.spi.AnnotatedField<? super X>> getFields()
           
 Class<X> getJavaClass()
           
 Set<javax.enterprise.inject.spi.AnnotatedMethod<? super X>> getMethods()
           
 Set<Type> getTypeClosure()
           
 boolean isAnnotationPresent(Class<? extends Annotation> arg0)
           
static boolean isGetConstructorsUsed()
           
static boolean isGetFieldsUsed()
           
static boolean isGetMethodsUsed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
 

Constructor Detail

TestAnnotatedType

public TestAnnotatedType(javax.enterprise.inject.spi.AnnotatedType<X> delegate,
                         Annotation... annotations)
Method Detail

getConstructors

public Set<javax.enterprise.inject.spi.AnnotatedConstructor<X>> getConstructors()
Specified by:
getConstructors in interface javax.enterprise.inject.spi.AnnotatedType<X>

getFields

public Set<javax.enterprise.inject.spi.AnnotatedField<? super X>> getFields()
Specified by:
getFields in interface javax.enterprise.inject.spi.AnnotatedType<X>

getJavaClass

public Class<X> getJavaClass()
Specified by:
getJavaClass in interface javax.enterprise.inject.spi.AnnotatedType<X>

getMethods

public Set<javax.enterprise.inject.spi.AnnotatedMethod<? super X>> getMethods()
Specified by:
getMethods in interface javax.enterprise.inject.spi.AnnotatedType<X>

isGetConstructorsUsed

public static boolean isGetConstructorsUsed()

isGetFieldsUsed

public static boolean isGetFieldsUsed()

isGetMethodsUsed

public static boolean isGetMethodsUsed()

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> arg0)
Specified by:
getAnnotation in interface javax.enterprise.inject.spi.Annotated

getAnnotations

public Set<Annotation> getAnnotations()
Specified by:
getAnnotations in interface javax.enterprise.inject.spi.Annotated

getBaseType

public Type getBaseType()
Specified by:
getBaseType in interface javax.enterprise.inject.spi.Annotated

getTypeClosure

public Set<Type> getTypeClosure()
Specified by:
getTypeClosure in interface javax.enterprise.inject.spi.Annotated

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends Annotation> arg0)
Specified by:
isAnnotationPresent in interface javax.enterprise.inject.spi.Annotated


Copyright © 2008-2012 Seam Framework. All Rights Reserved.