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 and Description |
---|
AnnotationElementValue(int type,
AnnotationEntry annotationEntry,
ConstantPool cpool) |
Modifier and Type | Method and Description |
---|---|
void |
dump(DataOutputStream dos) |
AnnotationEntry |
getAnnotationEntry() |
String |
stringifyValue() |
String |
toString() |
getElementValueType, readElementValue, toShortString
public AnnotationElementValue(int type, AnnotationEntry annotationEntry, ConstantPool cpool)
public void dump(DataOutputStream dos) throws IOException
dump
in class ElementValue
IOException
public String stringifyValue()
stringifyValue
in class ElementValue
public String toString()
toString
in class ElementValue
public AnnotationEntry getAnnotationEntry()
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.