harpoon.IR.Bytecode
Class OpLocalVariable
java.lang.Object
harpoon.IR.Bytecode.Operand
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>
Method Summary |
int |
getIndex()
Get the local variable index |
String |
toString()
Return a human-readable representation of this Operand. |
OpLocalVariable
public OpLocalVariable(int local_variable_index)
- Create an
OpLocalVariable
given the index of the
local variable referenced.
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