Class ICONST_2

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

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

    • ICONST_2

      public ICONST_2(int iid, int mid)
      Creates a new ICONST_2 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.