Class 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 Detail

      • LibraryUsageReporter

        public LibraryUsageReporter()
    • 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 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