Class GETFIELD

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

public class GETFIELD extends Instruction
GETFIELD - Fetch field from object. For more information see the Java VM specification.
See Also:
  • Field Details

    • cIdx

      public int cIdx
    • fIdx

      public int fIdx
    • desc

      public String desc
  • Constructor Details

    • GETFIELD

      public GETFIELD(int iid, int mid, int cIdx, int fIdx, String desc)
      Creates a new GETFIELD instruction.
      Parameters:
      iid - instruction id.
      mid - method id.
      cIdx - class index.
      fIdx - field index.
      desc - field descriptor.
  • 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.