org.jboss.cdi.tck.util.annotated
Class AnnotatedWrapper

java.lang.Object
  extended by org.jboss.cdi.tck.util.annotated.AnnotatedWrapper
All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated
Direct Known Subclasses:
AnnotatedConstructorWrapper, AnnotatedFieldWrapper, AnnotatedMethodWrapper, AnnotatedParameterWrapper, AnnotatedTypeWrapper

public class AnnotatedWrapper
extends Object
implements javax.enterprise.inject.spi.Annotated


Constructor Summary
AnnotatedWrapper(javax.enterprise.inject.spi.Annotated delegate, boolean keepOriginalAnnotations, Annotation... annotations)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> arg0)
           
 Set<Annotation> getAnnotations()
           
 Type getBaseType()
           
 Set<Type> getTypeClosure()
           
 boolean isAnnotationPresent(Class<? extends Annotation> arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedWrapper

public AnnotatedWrapper(javax.enterprise.inject.spi.Annotated delegate,
                        boolean keepOriginalAnnotations,
                        Annotation... annotations)
Method Detail

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-2013 Seam Framework. All Rights Reserved.