T - the base typeS - the annotated element typepublic abstract class ForwardingAnnotated extends Object implements Annotated
| Constructor and Description |
|---|
ForwardingAnnotated() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Annotated |
delegate() |
boolean |
equals(Object obj) |
<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.
|
Type |
getBaseType()
Get the type of the annotated program element.
|
Set<Type> |
getTypeClosure()
Get all types to which the base type should be considered assignable.
|
int |
hashCode() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Determine if the program element has an annotation of a certain annotation type.
|
String |
toString() |
protected abstract Annotated delegate()
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
AnnotatedGet program element annotation of a certain annotation type.
getAnnotation in interface AnnotatedA - the type of the annotationannotationType - the class of the annotation typepublic Set<Annotation> getAnnotations()
AnnotatedGet all annotations of the program element.
getAnnotations in interface Annotatedpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
AnnotatedDetermine if the program element has an annotation of a certain annotation type.
isAnnotationPresent in interface AnnotatedannotationType - the annotation type to check forpublic Type getBaseType()
AnnotatedGet the type of the annotated program element.
getBaseType in interface Annotatedpublic Set<Type> getTypeClosure()
AnnotatedGet all types to which the base type should be considered assignable.
getTypeClosure in interface AnnotatedCopyright © 2014 Seam Framework. All Rights Reserved.