Class ASTORE

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

public class ASTORE extends Instruction
ASTORE -Store reference into local variable. For more information see the Java VM specification.
See Also:
  • Field Details

    • var

      public int var
  • Constructor Details

    • ASTORE

      public ASTORE(int iid, int mid, int var)
      Creates a new ASTORE instruction.
      Parameters:
      iid - instruction id.
      mid - method id.
      var - index of the local variable where the reference is stored.
  • 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.