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, toShortStringpublic AnnotationElementValue(int type, AnnotationEntry annotationEntry, ConstantPool cpool)
public void dump(DataOutputStream dos) throws IOException
dump in class ElementValueIOExceptionpublic AnnotationEntry getAnnotationEntry()
public String stringifyValue()
stringifyValue in class ElementValuepublic String toString()
toString in class ElementValueCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.