org.apache.bcel.classfile

Class ElementValue

public abstract class ElementValue extends Object

Since: 5.3

Version: $Id: ElementValue

Author: D. Brosius

Field Summary
static intANNOTATION
static intARRAY
protected ConstantPoolcpool
static intCLASS
static intENUM_CONSTANT
static intPRIMITIVE_BOOLEAN
static intPRIMITIVE_BYTE
static intPRIMITIVE_CHAR
static intPRIMITIVE_DOUBLE
static intPRIMITIVE_FLOAT
static intPRIMITIVE_INT
static intPRIMITIVE_LONG
static intPRIMITIVE_SHORT
static intSTRING
protected inttype
Constructor Summary
protected ElementValue(int type, ConstantPool cpool)
Method Summary
abstract voiddump(DataOutputStream dos)
intgetElementValueType()
static ElementValuereadElementValue(DataInputStream dis, ConstantPool cpool)
abstract StringstringifyValue()
StringtoShortString()
StringtoString()

Field Detail

ANNOTATION

public static final int ANNOTATION

ARRAY

public static final int ARRAY

cpool

protected ConstantPool cpool

CLASS

public static final int CLASS

ENUM_CONSTANT

public static final int ENUM_CONSTANT

PRIMITIVE_BOOLEAN

public static final int PRIMITIVE_BOOLEAN

PRIMITIVE_BYTE

public static final int PRIMITIVE_BYTE

PRIMITIVE_CHAR

public static final int PRIMITIVE_CHAR

PRIMITIVE_DOUBLE

public static final int PRIMITIVE_DOUBLE

PRIMITIVE_FLOAT

public static final int PRIMITIVE_FLOAT

PRIMITIVE_INT

public static final int PRIMITIVE_INT

PRIMITIVE_LONG

public static final int PRIMITIVE_LONG

PRIMITIVE_SHORT

public static final int PRIMITIVE_SHORT

STRING

public static final int STRING

type

protected int type

Constructor Detail

ElementValue

protected ElementValue(int type, ConstantPool cpool)

Method Detail

dump

public abstract void dump(DataOutputStream dos)

getElementValueType

public int getElementValueType()

readElementValue

public static ElementValue readElementValue(DataInputStream dis, ConstantPool cpool)

stringifyValue

public abstract String stringifyValue()

toShortString

public String toShortString()

toString

public String toString()
Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.