Package soot.jbco.util
Class BodyBuilder
- java.lang.Object
-
- soot.jbco.util.BodyBuilder
-
public class BodyBuilder extends Object
- Author:
- Michael Batchelder Created on 7-Feb-2006
-
-
Field Summary
Fields Modifier and Type Field Description static booleanbodiesHaveBeenBuiltstatic Set<String>nameListstatic booleannamesHaveBeenRetrieved
-
Constructor Summary
Constructors Constructor Description BodyBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Local>buildParameterLocals(PatchingChain<Unit> units, Collection<Local> locals, List<Type> paramTypes)static LocalbuildThisLocal(PatchingChain<Unit> units, ThisRef tr, Collection<Local> locals)static intgetIntegerNine()static booleanisBafIf(Unit u)static booleanisExceptionCaughtAt(Chain<Unit> units, Unit u, Iterator<Trap> trapsIt)static voidretrieveAllBodies()static voidretrieveAllNames()static voidupdateTraps(Unit oldu, Unit newu, Chain<Trap> traps)
-
-
-
Method Detail
-
retrieveAllBodies
public static void retrieveAllBodies()
-
retrieveAllNames
public static void retrieveAllNames()
-
buildThisLocal
public static Local buildThisLocal(PatchingChain<Unit> units, ThisRef tr, Collection<Local> locals)
-
buildParameterLocals
public static List<Local> buildParameterLocals(PatchingChain<Unit> units, Collection<Local> locals, List<Type> paramTypes)
-
isExceptionCaughtAt
public static boolean isExceptionCaughtAt(Chain<Unit> units, Unit u, Iterator<Trap> trapsIt)
-
getIntegerNine
public static int getIntegerNine()
-
isBafIf
public static boolean isBafIf(Unit u)
-
-