public class SimpleElementValue 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 |
|---|
SimpleElementValue(int type,
int index,
ConstantPool cpool) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(DataOutputStream dos) |
int |
getIndex() |
String |
stringifyValue() |
String |
toString() |
readElementValuepublic SimpleElementValue(int type,
int index,
ConstantPool cpool)
public int getIndex()
public String toString()
toString in class ElementValuepublic String stringifyValue()
stringifyValue in class ElementValuepublic void dump(DataOutputStream dos) throws IOException
dump in class ElementValueIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.