Class INVOKEVIRTUAL

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

public class INVOKEVIRTUAL extends Instruction
INVOKEVIRTUAL - Invoke instance method; dispatch based on class. For more information see the Java VM specification.
See Also:
  • Field Details

  • Constructor Details

    • INVOKEVIRTUAL

      public INVOKEVIRTUAL(int iid, int mid, String owner, String name, String desc)
      Creates a new INVOKESPECIAL instruction.
      Parameters:
      iid - instruction id.
      mid - method id.
      owner - the owner of the method
      name - the name of the method
      desc - the descriptor of the method
  • 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.