Class ICONST_1

java.lang.Object
de.uzl.its.swat.symbolic.instruction.Instruction
de.uzl.its.swat.symbolic.instruction.ICONST_1
All Implemented Interfaces:
Serializable

public class ICONST_1 extends Instruction
ICONST_1 - Push int constant (1). For more information see the Java VM specification.
See Also:
  • Constructor Details

    • ICONST_1

      public ICONST_1(int iid, int mid)
      Creates a new ICONST_1 instruction.
      Parameters:
      iid - instruction id.
      mid - method id.
  • Method Details

    • accept

      public void accept(IVisitor visitor)
      Accept method for the visitor.
      Specified by:
      accept in class Instruction
      Parameters:
      visitor - the visitor
    • toString

      public String toString()
      Returns the string representation of the instruction.
      Overrides:
      toString in class Object
      Returns:
      the representation.