harpoon.IR.Bytecode
Class OpLocalVariable

java.lang.Object
  extended by harpoon.IR.Bytecode.Operand
      extended by harpoon.IR.Bytecode.OpLocalVariable

public final class OpLocalVariable
extends Operand

OpLocalVariable represents an operand of a java bytecode instruction which indicates a local variable index.

Version:
$Id: OpLocalVariable.java,v 1.3 2002/02/25 21:04:17 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Field Summary
 
Fields inherited from class harpoon.IR.Bytecode.Operand
arrayFactory
 
Constructor Summary
OpLocalVariable(int local_variable_index)
          Create an OpLocalVariable given the index of the local variable referenced.
 
Method Summary
 int getIndex()
          Get the local variable index
 String toString()
          Return a human-readable representation of this Operand.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpLocalVariable

public OpLocalVariable(int local_variable_index)
Create an OpLocalVariable given the index of the local variable referenced.

Method Detail

getIndex

public int getIndex()
Get the local variable index


toString

public String toString()
Return a human-readable representation of this Operand.

Specified by:
toString in class Operand