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, toShortString
public AnnotationElementValue(int type, AnnotationEntry annotationEntry, ConstantPool cpool)
public void dump(java.io.DataOutputStream dos) throws java.io.IOException
dump
in class ElementValue
java.io.IOException
public java.lang.String stringifyValue()
stringifyValue
in class ElementValue
public java.lang.String toString()
toString
in class ElementValue
public AnnotationEntry getAnnotationEntry()