soot.jbco.jimpleTransformations
Class ClassRenamer

java.lang.Object
  extended by soot.Transformer
      extended by soot.SceneTransformer
          extended by soot.jbco.jimpleTransformations.ClassRenamer
All Implemented Interfaces:
IJbcoTransform

public class ClassRenamer
extends SceneTransformer
implements IJbcoTransform

Author:
Michael Batchelder Created on 26-Jan-2006

Field Summary
static String[] dependancies
           
static String name
           
static HashMap<String,SootClass> newNameToClass
           
static HashMap<String,String> oldToNewClassNames
           
 
Fields inherited from interface soot.jbco.IJbcoTransform
debug, out, output
 
Constructor Summary
ClassRenamer()
           
 
Method Summary
 String[] getDependancies()
           
 String getName()
           
static String getNamePrefix(String fullName)
           
static String getNewName(String prefix)
           
protected  void internalTransform(String phaseName, Map options)
          Performs the transformation on the Scene, under the given phaseName and with the given Options.
 void outputSummary()
           
 
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
 

Field Detail

dependancies

public static String[] dependancies

name

public static String name

oldToNewClassNames

public static HashMap<String,String> oldToNewClassNames

newNameToClass

public static HashMap<String,SootClass> newNameToClass
Constructor Detail

ClassRenamer

public ClassRenamer()
Method Detail

outputSummary

public void outputSummary()
Specified by:
outputSummary in interface IJbcoTransform

getDependancies

public String[] getDependancies()
Specified by:
getDependancies in interface IJbcoTransform

getName

public String getName()
Specified by:
getName in interface IJbcoTransform

internalTransform

protected void internalTransform(String phaseName,
                                 Map options)
Description copied from class: SceneTransformer
Performs the transformation on the Scene, under the given phaseName and with the given Options.

Specified by:
internalTransform in class SceneTransformer

getNewName

public static String getNewName(String prefix)

getNamePrefix

public static String getNamePrefix(String fullName)