de.fub.bytecode.classfile
Interface ConstantObject

All Known Implementing Classes:
ConstantClass, ConstantFloat, ConstantInteger, ConstantLong, ConstantString, ConstantDouble

public interface ConstantObject

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

Version:
$Id: ConstantObject.java,v 1.2 2001/05/09 09:26:57 dahm Exp $
Author:
M. Dahm
See Also:
Constant

Method Summary
 java.lang.Object getConstantValue(ConstantPool cp)
           
 

Method Detail

getConstantValue

public java.lang.Object getConstantValue(ConstantPool cp)
Returns:
object representing the constant, e.g., Long for ConstantLong