SootClass functionClass = new SootClass("Function_"
+ (_functionCount++), Modifier.PUBLIC);
Scene.v().addClass(functionClass);
functionClass.setSuperclass(PtolemyUtilities.objectClass);
functionClass.setApplicationClass();
functionClass.addInterface(PtolemyUtilities.functionInterface);
// Construct the scope, starting with free variables that are
// represented by constructor arguments and stored in fields
// of the closure.
Map nameToLocal = new HashMap();