All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.IR.Bytecode.OpClass

java.lang.Object
   |
   +----harpoon.IR.Bytecode.Operand
           |
           +----harpoon.IR.Bytecode.OpClass

public class OpClass
extends Operand
OpClass represents a class reference operand of a java bytecode instruction. It is generated from a CONSTANT_Class constant pool entry.

Version:
$Id: OpClass.java,v 1.2 1998/10/11 03:01:16 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
ConstantClass

Constructor Index

 o OpClass(Code, int)
Creates an OpClass from the CONSTANT_CLASS at the given index in the constant pool.

Method Index

 o toString()
Return a human-readable string given the value of this object.
 o value()
Return the class referenced.

Constructors

 o OpClass
 public OpClass(Code parent,
                int constant_pool_index)
Creates an OpClass from the CONSTANT_CLASS at the given index in the constant pool.

Methods

 o value
 public HClass value()
Return the class referenced.

 o toString
 public String toString()
Return a human-readable string given the value of this object.

Overrides:
toString in class Operand

All Packages  Class Hierarchy  This Package  Previous  Next  Index