| Constructor and Description |
|---|
AnnotationTag(java.lang.String type) |
AnnotationTag(java.lang.String type,
java.util.Collection<AnnotationElem> elements) |
AnnotationTag(java.lang.String type,
int numElem)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addElem(AnnotationElem elem)
Adds one element to the list
|
java.util.Collection<AnnotationElem> |
getElems() |
java.lang.String |
getInfo() |
java.lang.String |
getName()
Returns the tag name.
|
java.lang.String |
getType() |
byte[] |
getValue()
Returns the tag raw data.
|
void |
setElems(java.util.List<AnnotationElem> list)
Overwrites the elements stored previously
|
java.lang.String |
toString() |
public AnnotationTag(java.lang.String type)
public AnnotationTag(java.lang.String type,
java.util.Collection<AnnotationElem> elements)
@Deprecated
public AnnotationTag(java.lang.String type,
int numElem)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
public java.lang.String getInfo()
public java.lang.String getType()
public void addElem(AnnotationElem elem)
elem - the elementpublic void setElems(java.util.List<AnnotationElem> list)
list - the new list of elementspublic java.util.Collection<AnnotationElem> getElems()