dovs.instructions
Class MethodInvoke

java.lang.Object
  extended by dovs.instructions.Instruction
      extended by dovs.instructions.MethodInvoke
Direct Known Subclasses:
Iinvokeinterface, Iinvokespecial, Iinvokestatic, Iinvokevirtual

public abstract class MethodInvoke
extends Instruction

Common superclass for all invoke instructions.


Field Summary
protected  MethodSignature sig
           
 
Constructor Summary
MethodInvoke(MethodSignature sig)
           
 
Method Summary
 Object getArg(int i)
          Returns the specified numbered argument as given to the constructor.
 
Methods inherited from class dovs.instructions.Instruction
canFallThrough, canJump, getID, getID, getTarget, localAccess, stackChange, toAsm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sig

protected MethodSignature sig
Constructor Detail

MethodInvoke

public MethodInvoke(MethodSignature sig)
Method Detail

getArg

public Object getArg(int i)
Description copied from class: Instruction
Returns the specified numbered argument as given to the constructor.

Overrides:
getArg in class Instruction
Parameters:
i - the index of the argument.
Returns:
the specified argument.