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

public class ILOAD extends Instruction
ILOAD - Load int from local variable. For more information see the Java VM specification.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     

    Fields inherited from class de.uzl.its.swat.symbolic.instruction.Instruction

    iid, mid
  • Constructor Summary

    Constructors
    Constructor
    Description
    ILOAD(int iid, int mid, int var)
    Creates a new ILOAD instruction.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(IVisitor visitor)
    Accept method for the visitor.
    Returns the string representation of the instruction.

    Methods inherited from class de.uzl.its.swat.symbolic.instruction.Instruction

    genericToString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • var

      public int var
  • Constructor Details

    • ILOAD

      public ILOAD(int iid, int mid, int var)
      Creates a new ILOAD instruction.
      Parameters:
      iid - instruction id.
      mid - method id.
      var - local variable index
  • 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.