Class LDC_String

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

public class LDC_String extends Instruction
LDC(_String) - 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 String c
    • address

      public int address
  • Constructor Details

    • LDC_String

      public LDC_String(int iid, int mid, String c, int address)
      Creates a new LDC_String instruction.
      Parameters:
      iid - instruction id.
      mid - method id.
      c - the value to load
      address - the address of the object
  • 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.