harpoon.Analysis.EnvBuilder
Class EnvCode

java.lang.Object
  |
  +--harpoon.ClassFile.HCode
        |
        +--harpoon.IR.Quads.Code
              |
              +--harpoon.IR.Quads.QuadSSI
                    |
                    +--harpoon.Analysis.EnvBuilder.EnvCode
All Implemented Interfaces:
Serializable

public class EnvCode
extends QuadSSI

EnvCode

Version:
$Id: EnvCode.java,v 1.2 2002/02/25 20:56:49 cananian Exp $
Author:
Karen K. Zee <kkz@alum.mit.edu>
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class harpoon.ClassFile.HCode
HCode.PrintCallback
 
Field Summary
 
Fields inherited from class harpoon.IR.Quads.QuadSSI
codename
 
Fields inherited from class harpoon.IR.Quads.Code
ai, parent, qf, quads
 
Constructor Summary
EnvCode(HMethod parent, HField[] fields, Linker linker)
          Creates a EnvCode.
 
Method Summary
 HCodeAndMaps clone(HMethod newMethod)
          Clone this code representation.
 String getName()
          Return the name of this code view.
 
Methods inherited from class harpoon.IR.Quads.QuadSSI
codeFactory, codeFactory
 
Methods inherited from class harpoon.IR.Quads.Code
cloneHelper, cloneHelper, elementArrayFactory, getAllocationInformation, getDerivation, getElements, getElementsI, getLeafElements, getMethod, getRootElement, newQF, print, setAllocationInformation
 
Methods inherited from class harpoon.ClassFile.HCode
clone, elementIndexer, getElementsE, getElementsL, print, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvCode

public EnvCode(HMethod parent,
               HField[] fields,
               Linker linker)
Creates a EnvCode.

Method Detail

clone

public HCodeAndMaps clone(HMethod newMethod)
Clone this code representation. The clone has its own copy of the quad graph.

Overrides:
clone in class QuadSSI

getName

public String getName()
Return the name of this code view.

Overrides:
getName in class QuadSSI
Returns:
the name of the parent's code view.