public class SimpleAnnotationsItem extends SimpleItem<Annotation[]> implements AnnotationsItem
| Modifier and Type | Field and Description |
|---|---|
static SimpleAnnotationsItem |
NO_ANNOTATIONS
No annotations
|
NO_ANNOTATION_ITEMS| Modifier | Constructor and Description |
|---|---|
protected |
SimpleAnnotationsItem()
Create a new SimpleAnnotationsItem with no annotations
|
|
SimpleAnnotationsItem(AnnotationItem<? extends Annotation>[] annotationItems)
Create a new SimpleAnnotationsItem.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationItem<? extends Annotation>[] |
getAnnotations()
Get the annotations
|
Annotation[] |
getValue()
Get the value
|
protected void |
setAnnotationItems(AnnotationItem<? extends Annotation>[] annotationItems)
Set the annotation items
|
isCachable, isValidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCachable, isValidpublic static final SimpleAnnotationsItem NO_ANNOTATIONS
protected SimpleAnnotationsItem()
public SimpleAnnotationsItem(AnnotationItem<? extends Annotation>[] annotationItems)
annotationItems - the annotation itemspublic Annotation[] getValue()
ItemgetValue in interface Item<Annotation[]>public AnnotationItem<? extends Annotation>[] getAnnotations()
AnnotationsItemgetAnnotations in interface AnnotationsItemprotected void setAnnotationItems(AnnotationItem<? extends Annotation>[] annotationItems)
annotationItems - the annotation itemsCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.