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
|
invalidate
public BasicAnnotationsItem(MetaDataLoader loader, AnnotationItem<? extends Annotation>[] annotationItems)
loader
- the loaderannotationItems
- the annotation itemspublic Annotation[] getValue()
Item
getValue
in interface Item<Annotation[]>
public AnnotationItem<? extends Annotation>[] getAnnotations()
AnnotationsItem
getAnnotations
in interface AnnotationsItem
public boolean isCachable()
Item
isCachable
in interface Item<Annotation[]>
isCachable
in class BasicItem<Annotation[]>
public boolean isValid()
Item
isValid
in interface Item<Annotation[]>
isValid
in class BasicItem<Annotation[]>
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.