public class AnnotatedTypeWrapper<T> extends ForwardingAnnotatedType<T>
| Constructor and Description |
|---|
AnnotatedTypeWrapper(AnnotatedType<T> delegate,
Annotation... additionalAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
AnnotatedType<T> |
delegate() |
<A extends Annotation> |
getAnnotation(Class<A> annotationType)
Get program element annotation of a certain annotation type.
|
Set<Annotation> |
getAnnotations()
Get all annotations of the program element.
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Determine if the program element has an annotation of a certain annotation type.
|
getConstructors, getFields, getJavaClass, getMethodsequals, getBaseType, getTypeClosure, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBaseType, getTypeClosurepublic AnnotatedTypeWrapper(AnnotatedType<T> delegate, Annotation... additionalAnnotations)
public AnnotatedType<T> delegate()
delegate in class ForwardingAnnotatedType<T>public <A extends Annotation> A getAnnotation(Class<A> annotationType)
AnnotatedGet program element annotation of a certain annotation type.
getAnnotation in interface AnnotatedgetAnnotation in class ForwardingAnnotatedA - the type of the annotationannotationType - the class of the annotation typepublic Set<Annotation> getAnnotations()
AnnotatedGet all annotations of the program element.
getAnnotations in interface AnnotatedgetAnnotations in class ForwardingAnnotatedpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
AnnotatedDetermine if the program element has an annotation of a certain annotation type.
isAnnotationPresent in interface AnnotatedisAnnotationPresent in class ForwardingAnnotatedannotationType - the annotation type to check forCopyright © 2013 Seam Framework. All Rights Reserved.