ptolemy.copernicus.java
Class ReplaceComplexParameters
java.lang.Object
soot.Transformer
soot.SceneTransformer
ptolemy.copernicus.java.ReplaceComplexParameters
- All Implemented Interfaces:
- soot.HasPhaseOptions
public class ReplaceComplexParameters
- extends soot.SceneTransformer
- implements soot.HasPhaseOptions
A Transformer that replaces complex parameters and attributes with a
'simpler' parameter with normal parameter semantics. This relies on
fields for ports and attributes.
- Since:
- Ptolemy II 4.0
- Version:
- $Id: ReplaceComplexParameters.java,v 1.35 2006/09/21 15:39:46 cxh Exp $
- Author:
- Stephen Neuendorffer
- 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 ReplaceComplexParameters 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
copyAttributesOtherThanVariable
public void copyAttributesOtherThanVariable(NamedObj object)