ConstantInteger (Apache Tomcat 9.0.119 API Documentation)
Description: declaration: package: org.apache.tomcat.util.bcel.classfile, class: ConstantInteger

# Class ConstantInteger

java.lang.Object
org.apache.tomcat.util.bcel.classfile.Constant
org.apache.tomcat.util.bcel.classfile.ConstantInteger

public final class ConstantInteger extends Constant
This class is derived from the abstract `Constant` and represents a reference to an int object.

See Also:
  - `Constant`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getBytes()`
  Get the 4-byte integer value stored in this constant pool entry.

  ### Methods inherited from class Constant

  `getTag, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### getBytes

    public int getBytes()
    Get the 4-byte integer value stored in this constant pool entry.
    Returns:
      the integer value