Class LDC_Object

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

public class LDC_Object extends Instruction
LDC(_Object) - Push item from run-time constant pool. LDC instructions are handled based on the datatype to load. For more information see the Java VM specification.
See Also:
  • Field Details

    • c

      public int c
  • Constructor Details

    • LDC_Object

      public LDC_Object(int iid, int mid, int c)
      Creates a new LDC_long instruction.
      Parameters:
      iid - instruction id.
      mid - method id.
      c - the address of the object that's loaded
  • 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.