}
// inline calls to the startRun and stopRun method.
SootMethod startRunMethod = mainClass.getMethodByName("startRun");
SootUtilities.inlineCallsToMethod(startRunMethod, mainClass);
mainClass.removeMethod(startRunMethod);
SootUtilities.inlineCallsToMethod(mainClass.getMethodByName("stopRun"),
mainClass);
for (Iterator methods = mainClass.getMethods().iterator(); methods
.hasNext();) {