Class LDC_int

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

public class LDC_int extends Instruction
LDC(_int) - 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 Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     

    Fields inherited from class de.uzl.its.swat.symbolic.instruction.Instruction

    iid, mid
  • Constructor Summary

    Constructors
    Constructor
    Description
    LDC_int(int iid, int mid, int c)
    Creates a new LDC_int instruction.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(IVisitor visitor)
    Accept method for the visitor.
    Returns the string representation of the instruction.

    Methods inherited from class de.uzl.its.swat.symbolic.instruction.Instruction

    genericToString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • c

      public int c
  • Constructor Details

    • LDC_int

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