public class AnnotationElementValue extends ElementValue
| Modifier and Type | Field and Description |
|---|---|
private AnnotationEntry |
annotationEntry |
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 and Description |
|---|
AnnotationElementValue(int type,
AnnotationEntry annotationEntry,
ConstantPool cpool) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(java.io.DataOutputStream dos) |
AnnotationEntry |
getAnnotationEntry() |
java.lang.String |
stringifyValue() |
java.lang.String |
toString() |
getConstantPool, getElementValueType, getType, readElementValue, toShortStringprivate final AnnotationEntry annotationEntry
public 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()