Class TransformerAdapter


  • public class TransformerAdapter
    extends soot.SceneTransformer
    An adapter that turns a body transformer into a scene transformer. This applies the transformer specified in the constructor to all of the bodies in the scene.
    Since:
    Ptolemy II 4.0
    Version:
    $Id$
    Author:
    Steve Neuendorffer
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Constructor Summary

      Constructors 
      Constructor Description
      TransformerAdapter​(java.util.List transformers)
      Construct a new transformer that executes the list of body transformers
      TransformerAdapter​(soot.BodyTransformer transformer)
      Construct a new transformer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void internalTransform​(java.lang.String phaseName, java.util.Map options)  
      • 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
    • Constructor Detail

      • TransformerAdapter

        public TransformerAdapter​(soot.BodyTransformer transformer)
        Construct a new transformer
      • TransformerAdapter

        public TransformerAdapter​(java.util.List transformers)
        Construct a new transformer that executes the list of body transformers
    • Method Detail

      • internalTransform

        protected void internalTransform​(java.lang.String phaseName,
                                         java.util.Map options)
        Specified by:
        internalTransform in class soot.SceneTransformer