harpoon.Analysis.EventDriven
Class EventDriven

java.lang.Object
  extended by harpoon.Analysis.EventDriven.EventDriven

public class EventDriven
extends Object

EventDriven

Version:
$Id: EventDriven.java,v 1.3 2004/02/08 01:51:58 cananian Exp $
Author:
Karen K. Zee <kkz@alum.mit.edu>

Field Summary
protected  ClassHierarchy ch
           
protected  Set classes
           
protected  Map classmap
           
protected  HCode hc
           
protected  Linker linker
           
protected  boolean optimistic
           
protected  boolean recycle
           
protected  CachingCodeFactory ucf
           
 
Constructor Summary
EventDriven(CachingCodeFactory ucf, HCode hc, ClassHierarchy ch, Linker linker, boolean optimistic, boolean recycle)
          Creates a EventDriven.
 
Method Summary
 Set classes()
           
 HMethod convert(MetaCallGraph mcg)
          Returns the converted main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ucf

protected final CachingCodeFactory ucf

hc

protected final HCode hc

ch

protected final ClassHierarchy ch

classmap

protected Map classmap

linker

protected final Linker linker

optimistic

protected boolean optimistic

recycle

protected boolean recycle

classes

protected Set classes
Constructor Detail

EventDriven

public EventDriven(CachingCodeFactory ucf,
                   HCode hc,
                   ClassHierarchy ch,
                   Linker linker,
                   boolean optimistic,
                   boolean recycle)
Creates a EventDriven. The CachingCodeFactory needs to have been created from a QuadSSI that contains type information. HCode needs to be the HCode for main.

Method Detail

classes

public Set classes()

convert

public HMethod convert(MetaCallGraph mcg)
Returns the converted main