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, toString
isCachable, isValid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName
getValue, isCachable, isValid
public SimpleAnnotationItem(T annotation)
annotation
- the annotationpublic T getAnnotation()
AnnotationItem
getAnnotation
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.