Class IntConstant

java.lang.Object
classycle.classfile.Constant
classycle.classfile.IntConstant

public class IntConstant extends Constant
Constant representing a int value.
Author:
Franz-Josef Elmer
  • Constructor Details

    • IntConstant

      public IntConstant(Constant[] pool, int value)
      Creates an instance for the specified int value.
  • Method Details

    • getValue

      public int getValue()
      Returns the wrapped int value.
    • toString

      public String toString()
      Returns the constant type and the int value.
      Overrides:
      toString in class Object