ptolemy.copernicus.java
Class InlineDirectorTransformer
java.lang.Object
soot.Transformer
soot.SceneTransformer
ptolemy.copernicus.java.InlineDirectorTransformer
- All Implemented Interfaces:
- soot.HasPhaseOptions
public class InlineDirectorTransformer
- extends soot.SceneTransformer
- implements soot.HasPhaseOptions
A transformer that inlines an SDF director. This transformer synthesizes
methods that properly implement the executable interface inside the class
representing the model. The resulting class includes code to properly
initialize the instance classes for the actors and fire them in the
order of the SDF schedule.
- Since:
- Ptolemy II 2.0
- Version:
- $Id: InlineDirectorTransformer.java,v 1.76 2006/10/25 00:17:27 cxh Exp $
- Author:
- Michael Wirthlin, Stephen Neuendorffer, Edward A. Lee, Christopher Hylands
- Accepted Rating:
- Proposed Rating:
Methods inherited from class soot.SceneTransformer |
transform, transform, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
v
public static InlineDirectorTransformer v(CompositeActor model)
- Return an instance of this transformer that will operate on
the given model. The model is assumed to already have been
properly initialized so that resolved types and other static
properties of the model can be inspected.
getPhaseName
public java.lang.String getPhaseName()
- Specified by:
getPhaseName
in interface soot.HasPhaseOptions
getDefaultOptions
public java.lang.String getDefaultOptions()
- Specified by:
getDefaultOptions
in interface soot.HasPhaseOptions
getDeclaredOptions
public java.lang.String getDeclaredOptions()
- Specified by:
getDeclaredOptions
in interface soot.HasPhaseOptions
internalTransform
protected void internalTransform(java.lang.String phaseName,
java.util.Map options)
- Specified by:
internalTransform
in class soot.SceneTransformer