harpoon.IR.Bytecode
Class Operand

java.lang.Object
  extended by harpoon.IR.Bytecode.Operand
Direct Known Subclasses:
OpClass, OpConstant, OpField, OpLocalVariable, OpMethod

public abstract class Operand
extends Object

Operand represents the operands of a java bytecode instruction.

Version:
$Id: Operand.java,v 1.3 2002/02/25 21:04:17 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
Instr, InGen, OpConstant, OpLocalVariable, OpClass, OpMethod, OpField

Field Summary
static ArrayFactory arrayFactory
          Array factory: returns new Operand[].
 
Constructor Summary
Operand()
           
 
Method Summary
abstract  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
 

Field Detail

arrayFactory

public static final ArrayFactory arrayFactory
Array factory: returns new Operand[].

Constructor Detail

Operand

public Operand()
Method Detail

toString

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

Overrides:
toString in class Object