org.apache.bcel.classfile

Interface ConstantObject

public interface ConstantObject

This interface denotes those constants that have a "natural" value, such as ConstantLong, ConstantString, etc..

See Also: Constant

Method Summary
abstract ObjectgetConstantValue(ConstantPool cp)

Method Detail

getConstantValue

public abstract Object getConstantValue(ConstantPool cp)

Returns: object representing the constant, e.g., Long for ConstantLong