abc.soot.util
Class LocalGeneratorEx

java.lang.Object
  extended by LocalGenerator
      extended by abc.soot.util.LocalGeneratorEx

public class LocalGeneratorEx
extends LocalGenerator

Author:
Sascha Kuzins

Constructor Summary
LocalGeneratorEx(Body b)
           
 
Method Summary
 Local generateLocal(soot.Type type, java.lang.String suggestedName)
          Generate a local with a given type, using a suggested name.
 SootMethod getMethod()
           
static void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalGeneratorEx

public LocalGeneratorEx(Body b)
Parameters:
b -
Method Detail

getMethod

public SootMethod getMethod()

reset

public static void reset()

generateLocal

public Local generateLocal(soot.Type type,
                           java.lang.String suggestedName)
Generate a local with a given type, using a suggested name. If that name is already in use, then try using name0, name1 etc

Parameters:
type - The type we want
name - The suggested name