org.apache.bcel.classfile
Interface ConstantObject
- All Known Implementing Classes:
- ConstantClass, ConstantDouble, ConstantFloat, ConstantInteger, ConstantLong, ConstantString
public interface ConstantObject
This interface denotes those constants that have a "natural" value,
such as ConstantLong, ConstantString, etc..
- Version:
- $Id: ConstantObject.java 386056 2006-03-15 11:31:56Z tcurdt $
- See Also:
Constant
getConstantValue
Object getConstantValue(ConstantPool cp)
- Returns:
- object representing the constant, e.g., Long for ConstantLong
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.