T
- the annotation typepublic class BasicAnnotationItem<T extends Annotation> extends BasicMetaDataItem<T> implements AnnotationItem<T>
Constructor and Description |
---|
BasicAnnotationItem(MetaDataLoader loader,
T annotation)
Create a new BasicAnnotationItem.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
T |
getAnnotation()
Get the annotation
|
getName, getValue, hashCode, toString
invalidate, isCachable, isValid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName
getValue, isCachable, isValid
public BasicAnnotationItem(MetaDataLoader loader, T annotation)
loader
- the loaderannotation
- the annotationpublic T getAnnotation()
AnnotationItem
getAnnotation
in interface AnnotationItem<T extends Annotation>
public boolean equals(Object object)
equals
in class BasicMetaDataItem<T extends Annotation>
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.