dovs.instructions
Class FieldAccess

java.lang.Object
  extended by dovs.instructions.Instruction
      extended by dovs.instructions.FieldAccess
Direct Known Subclasses:
Igetfield, Igetstatic, Iputfield, Iputstatic

public abstract class FieldAccess
extends Instruction

Common superclass for all get and put instructions.


Field Summary
protected  FieldSignature sig
           
 
Constructor Summary
FieldAccess(FieldSignature 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 FieldSignature sig
Constructor Detail

FieldAccess

public FieldAccess(FieldSignature 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.