Package ptolemy.copernicus.kernel
Class LibraryUsageReporter
- java.lang.Object
-
- soot.Transformer
-
- soot.SceneTransformer
-
- ptolemy.copernicus.kernel.LibraryUsageReporter
-
- All Implemented Interfaces:
soot.HasPhaseOptions
public class LibraryUsageReporter extends soot.SceneTransformer implements soot.HasPhaseOptions
A Transformer that reports reachable methods in the Java libraries.- Since:
- Ptolemy II 2.0
- Version:
- $Id$
- Author:
- Stephen Neuendorffer
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Constructor Summary
Constructors Constructor Description LibraryUsageReporter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDeclaredOptions()
java.lang.String
getDefaultOptions()
java.lang.String
getPhaseName()
protected void
internalTransform(java.lang.String phaseName, java.util.Map options)
static LibraryUsageReporter
v()
Return an instance of this transformer that will operate on the given model.
-
-
-
Method Detail
-
v
public static LibraryUsageReporter v()
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 interfacesoot.HasPhaseOptions
-
getDefaultOptions
public java.lang.String getDefaultOptions()
- Specified by:
getDefaultOptions
in interfacesoot.HasPhaseOptions
-
getDeclaredOptions
public java.lang.String getDeclaredOptions()
- Specified by:
getDeclaredOptions
in interfacesoot.HasPhaseOptions
-
internalTransform
protected void internalTransform(java.lang.String phaseName, java.util.Map options)
- Specified by:
internalTransform
in classsoot.SceneTransformer
-
-