ptolemy.copernicus.java
Class ExpressionCreator

java.lang.Object
  extended by ptolemy.copernicus.java.ExpressionCreator
All Implemented Interfaces:
AtomicActorCreator

public class ExpressionCreator
extends java.lang.Object
implements AtomicActorCreator

Since:
Ptolemy II 2.0
Version:
$Id: ExpressionCreator.java,v 1.26 2006/02/07 00:48:06 cxh Exp $
Author:
Stephen Neuendorffer
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Constructor Summary
ExpressionCreator()
           
 
Method Summary
 soot.SootClass createAtomicActor(Entity actor, java.lang.String newClassName, ConstVariableModelAnalysis constAnalysis, java.util.Map options)
          Generate a new class with the given name that can take the place of the given actor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionCreator

public ExpressionCreator()
Method Detail

createAtomicActor

public soot.SootClass createAtomicActor(Entity actor,
                                        java.lang.String newClassName,
                                        ConstVariableModelAnalysis constAnalysis,
                                        java.util.Map options)
Generate a new class with the given name that can take the place of the given actor. Use the given options when necessary. The given entity is assumed to be an expression actor.

Specified by:
createAtomicActor in interface AtomicActorCreator
Parameters:
actor - the entity.
newClassName - the name of the new class.
constAnalysis - a ConstVariableModelAnalysis object
options - the options
Returns:
a SootClass object