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() |
getElementValueType, readElementValue, toShortString
private AnnotationEntry annotationEntry
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()