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

public class NEW extends Instruction
NEW - Create new object. For more information see the Java VM specification.
See Also:
  • Field Details

    • cIdx

      public int cIdx
  • Constructor Details

    • NEW

      public NEW(int iid, int mid, String type, int cIdx)
      Creates a new NEW instruction.
      Parameters:
      iid - instruction id.
      mid - method id.
      type - the type of the object to be created
      cIdx - the class 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.