# Interface ConstantObject

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

public interface ConstantObject
This interface denotes those constants that have a "natural" value, such as ConstantLong, ConstantString, and so on.

See Also:
  - `Constant`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getConstantValue(ConstantPool constantPool)`
  Gets the object representing the constant, for example, Long for ConstantLong.

- ## Method Details

  - ### getConstantValue

    Object getConstantValue(ConstantPool constantPool)
    Gets the object representing the constant, for example, Long for ConstantLong.
    Parameters:
      `constantPool` - the constant.
    Returns:
      object representing the constant, for example, Long for ConstantLong.