public class AnnotatedImpl extends Object implements javax.enterprise.inject.spi.Annotated
Constructor and Description |
---|
AnnotatedImpl(Type baseType,
Set<Type> typeClosure,
Set<Annotation> annotations) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Set<Annotation> |
getAnnotations() |
Type |
getBaseType() |
Set<Type> |
getTypeClosure() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
public AnnotatedImpl(Type baseType, Set<Type> typeClosure, Set<Annotation> annotations)
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation
in interface javax.enterprise.inject.spi.Annotated
public Set<Annotation> getAnnotations()
getAnnotations
in interface javax.enterprise.inject.spi.Annotated
public Type getBaseType()
getBaseType
in interface javax.enterprise.inject.spi.Annotated
public Set<Type> getTypeClosure()
getTypeClosure
in interface javax.enterprise.inject.spi.Annotated
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent
in interface javax.enterprise.inject.spi.Annotated
Copyright © 2013 Oracle Corporation. All rights reserved.