com.sun.jersey.server.impl.cdi
Class AnnotatedImpl

java.lang.Object
  extended by com.sun.jersey.server.impl.cdi.AnnotatedImpl
All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated
Direct Known Subclasses:
AnnotatedMemberImpl, AnnotatedParameterImpl, AnnotatedTypeImpl

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

Implements the CDI Annotated interface.

Author:
robc

Constructor Summary
AnnotatedImpl(Type baseType, Set<Type> typeClosure, Set<Annotation> annotations)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> annotationType)
           
 Set<Annotation> getAnnotations()
           
 Type getBaseType()
           
 Set<Type> getTypeClosure()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedImpl

public AnnotatedImpl(Type baseType,
                     Set<Type> typeClosure,
                     Set<Annotation> annotations)
Method Detail

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType)
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> annotationType)
Specified by:
isAnnotationPresent in interface javax.enterprise.inject.spi.Annotated


Copyright © 2013 Oracle Corporation. All Rights Reserved.