Class ConstantIntegerInfo

java.lang.Object
org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
org.fife.rsta.ac.java.classreader.constantpool.ConstantIntegerInfo
All Implemented Interfaces:
ConstantTypes

public class ConstantIntegerInfo extends ConstantPoolInfo
Class corresponding to the CONSTANT_Integer_info structure.
Version:
1.0
  • Field Details

    • bytes

      private long bytes
  • Constructor Details

    • ConstantIntegerInfo

      public ConstantIntegerInfo(long bytes)
      Constructor.
      Parameters:
      bytes - The bytes that make up this object.
  • Method Details

    • getBytes

      public long getBytes()
    • getIntValue

      public int getIntValue()
      Returns the intrepresented by this info.
      Returns:
      The int represented.
    • toString

      public String toString()
      Returns a string representation of this object. Useful for debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.