All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.IR.Bytecode.OpField

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

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

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

Constructor Index

 o OpField(Code, int)
Create an OpField from the CONSTANT_Fieldref at the given index in the constant pool.

Method Index

 o toString()
Return the canonical name of this field.
 o value()
Return the field referenced by this operand.

Constructors

 o OpField
 public OpField(Code parent,
                int constant_pool_index)
Create an OpField from the CONSTANT_Fieldref at the given index in the constant pool.

Methods

 o value
 public HField value()
Return the field referenced by this operand.

 o toString
 public String toString()
Return the canonical name of this field.

Overrides:
toString in class Operand
See Also:
toString

All Packages  Class Hierarchy  This Package  Previous  Next  Index