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.
HCodeElement
s 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
-
getID()
- Returns a unique numeric identifier for this element.
-
getLineNumber()
- Get the line in the original source file that this element is
traceable to.
-
getSourceFile()
- Get the original source file name that this element is derived from.
getSourceFile
public abstract String getSourceFile()
- Get the original source file name that this element is derived from.
getLineNumber
public abstract int getLineNumber()
- Get the line in the original source file that this element is
traceable to.
getID
public abstract int getID()
- Returns a unique numeric identifier for this element.
All Packages Class Hierarchy This Package Previous Next Index