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.HasPhaseOptionsA 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.StringgetDeclaredOptions()java.lang.StringgetDefaultOptions()java.lang.StringgetPhaseName()protected voidinternalTransform(java.lang.String phaseName, java.util.Map options)static LibraryUsageReporterv()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:
getPhaseNamein interfacesoot.HasPhaseOptions
-
getDefaultOptions
public java.lang.String getDefaultOptions()
- Specified by:
getDefaultOptionsin interfacesoot.HasPhaseOptions
-
getDeclaredOptions
public java.lang.String getDeclaredOptions()
- Specified by:
getDeclaredOptionsin interfacesoot.HasPhaseOptions
-
internalTransform
protected void internalTransform(java.lang.String phaseName, java.util.Map options)- Specified by:
internalTransformin classsoot.SceneTransformer
-
-