Class ConstantIntegerInfo

  • All Implemented Interfaces:
    ConstantTypes

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

      • bytes

        private long bytes
    • Constructor Detail

      • ConstantIntegerInfo

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

      • getBytes

        public long getBytes()
      • getIntValue

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

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