T - the annotation typepublic class SimpleAnnotationItem<T extends Annotation> extends SimpleMetaDataItem<T> implements AnnotationItem<T>
| Constructor and Description |
|---|
SimpleAnnotationItem(T annotation)
Create a new SimpleAnnotationItem.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
T |
getAnnotation()
Get the annotation
|
getName, getValue, hashCode, toStringisCachable, isValidclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamegetValue, isCachable, isValidpublic SimpleAnnotationItem(T annotation)
annotation - the annotationpublic T getAnnotation()
AnnotationItemgetAnnotation in interface AnnotationItem<T extends Annotation>public boolean equals(Object object)
equals in class SimpleMetaDataItem<T extends Annotation>Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.