// Create the constructor. The constructor takes one argument
// for every free variable of the function closure that is not
// bound to a formal argument.
SootMethod functionConstructor = new SootMethod("<init>",
argumentSootTypes, VoidType.v(), Modifier.PUBLIC);
functionClass.addMethod(functionConstructor);
{
JimpleBody body = Jimple.v().newBody(functionConstructor);
functionConstructor.setActiveBody(body);
body.insertIdentityStmts();