|
bcel API: Interface ConstantObject
org.apache.bcel.classfile
Interface ConstantObject
- All Known Implementing Classes:
- ConstantString, ConstantClass, ConstantInteger, ConstantDouble, ConstantFloat, ConstantLong
- public interface ConstantObject
This interface denotes those constants that have a "natural" value,
such as ConstantLong, ConstantString, etc..
- Version:
- $Id: ConstantObject.java,v 1.1.1.1 2001/10/29 19:59:59 jvanzyl Exp $
- Author:
- M. Dahm
- See Also:
Constant
getConstantValue
public java.lang.Object getConstantValue(ConstantPool cp)
- Returns:
- object representing the constant, e.g., Long for ConstantLong
|