public class AnnotationElementValue extends ElementValue
ANNOTATION, ARRAY, CLASS, cpool, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type| Constructor | Description |
|---|---|
AnnotationElementValue(int type,
AnnotationEntry annotationEntry,
ConstantPool cpool) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
dump(java.io.DataOutputStream dos) |
|
AnnotationEntry |
getAnnotationEntry() |
|
java.lang.String |
stringifyValue() |
|
java.lang.String |
toString() |
getElementValueType, readElementValue, toShortStringpublic AnnotationElementValue(int type,
AnnotationEntry annotationEntry,
ConstantPool cpool)
public void dump(java.io.DataOutputStream dos)
throws java.io.IOException
dump in class ElementValuejava.io.IOExceptionpublic java.lang.String stringifyValue()
stringifyValue in class ElementValuepublic java.lang.String toString()
toString in class ElementValuepublic AnnotationEntry getAnnotationEntry()