com.sun.jersey.server.impl.cdi
Class AnnotatedImpl
java.lang.Object
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 java.lang.Object
- implements javax.enterprise.inject.spi.Annotated
Implements the CDI Annotated interface.
- Author:
- robc
|
Constructor Summary |
AnnotatedImpl(java.lang.reflect.Type baseType,
java.util.Set<java.lang.reflect.Type> typeClosure,
java.util.Set<java.lang.annotation.Annotation> annotations)
|
|
Method Summary |
<T extends java.lang.annotation.Annotation>
T |
|
getAnnotation(java.lang.Class<T> annotationType)
|
java.util.Set<java.lang.annotation.Annotation> |
getAnnotations()
|
java.lang.reflect.Type |
getBaseType()
|
java.util.Set<java.lang.reflect.Type> |
getTypeClosure()
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedImpl
public AnnotatedImpl(java.lang.reflect.Type baseType,
java.util.Set<java.lang.reflect.Type> typeClosure,
java.util.Set<java.lang.annotation.Annotation> annotations)
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
- Specified by:
getAnnotation in interface javax.enterprise.inject.spi.Annotated
getAnnotations
public java.util.Set<java.lang.annotation.Annotation> getAnnotations()
- Specified by:
getAnnotations in interface javax.enterprise.inject.spi.Annotated
getBaseType
public java.lang.reflect.Type getBaseType()
- Specified by:
getBaseType in interface javax.enterprise.inject.spi.Annotated
getTypeClosure
public java.util.Set<java.lang.reflect.Type> getTypeClosure()
- Specified by:
getTypeClosure in interface javax.enterprise.inject.spi.Annotated
isAnnotationPresent
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
- Specified by:
isAnnotationPresent in interface javax.enterprise.inject.spi.Annotated
Copyright © 2014 Oracle Corporation. All Rights Reserved.