public class EnumElementValue 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 |
|---|
EnumElementValue(int type,
int typeIdx,
int valueIdx,
ConstantPool cpool) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(DataOutputStream dos) |
String |
getEnumTypeString() |
String |
getEnumValueString() |
int |
getTypeIndex() |
int |
getValueIndex() |
String |
stringifyValue() |
getElementValueType, readElementValue, toShortString, toStringpublic EnumElementValue(int type,
int typeIdx,
int valueIdx,
ConstantPool cpool)
public void dump(DataOutputStream dos) throws IOException
dump in class ElementValueIOExceptionpublic String stringifyValue()
stringifyValue in class ElementValuepublic String getEnumTypeString()
public String getEnumValueString()
public int getValueIndex()
public int getTypeIndex()
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.