All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface harpoon.ClassFile.HCodeElement

public interface HCodeElement
HCodeElement is an interface that all views of a particular method's executable instructions should implement.

HCodeElements are "components" of an HCode. The correspond roughly to "an instruction" in the HCode "list of instructions". Each HCodeElement should be traceable to an original source file and line number, and possess a unique numeric identifier.

Version:
$Id: HCodeElement.java,v 1.7 1998/10/11 03:01:01 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
HCode, Instr

Method Index

 o getID()
Returns a unique numeric identifier for this element.
 o getLineNumber()
Get the line in the original source file that this element is traceable to.
 o getSourceFile()
Get the original source file name that this element is derived from.

Methods

 o getSourceFile
 public abstract String getSourceFile()
Get the original source file name that this element is derived from.

 o getLineNumber
 public abstract int getLineNumber()
Get the line in the original source file that this element is traceable to.

 o getID
 public abstract int getID()
Returns a unique numeric identifier for this element.


All Packages  Class Hierarchy  This Package  Previous  Next  Index