public class BasicAnnotationsItem extends BasicItem<Annotation[]> implements AnnotationsItem
NO_ANNOTATION_ITEMS| Constructor and Description |
|---|
BasicAnnotationsItem(MetaDataLoader loader,
AnnotationItem<? extends Annotation>[] annotationItems)
Create a new BasicAnnotationsItem.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationItem<? extends Annotation>[] |
getAnnotations()
Get the annotations
|
Annotation[] |
getValue()
Get the value
|
boolean |
isCachable()
Whether the item is cachable
|
boolean |
isValid()
Whether the value is valid
|
invalidatepublic BasicAnnotationsItem(MetaDataLoader loader, AnnotationItem<? extends Annotation>[] annotationItems)
loader - the loaderannotationItems - the annotation itemspublic Annotation[] getValue()
ItemgetValue in interface Item<Annotation[]>public AnnotationItem<? extends Annotation>[] getAnnotations()
AnnotationsItemgetAnnotations in interface AnnotationsItempublic boolean isCachable()
ItemisCachable in interface Item<Annotation[]>isCachable in class BasicItem<Annotation[]>public boolean isValid()
ItemisValid in interface Item<Annotation[]>isValid in class BasicItem<Annotation[]>Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.