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