Class NEWARRAY

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

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

    • atype

      public int atype
  • Constructor Details

    • NEWARRAY

      public NEWARRAY(int iid, int mid, int atype)
      Creates a new NEWARRAY instruction.
      Parameters:
      iid - instruction id.
      mid - method id.
      atype - the type of the array to be created
  • 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()
      Overrides:
      toString in class Object