BodyCompiler methodCompiler = script.startMethod(name, newMethodName, args, scope, inspector, scopeIndex);
// callbacks to fill in method body
body.call(methodCompiler);
methodCompiler.endBody();
}
public void rethrowIfSystemExit() {
loadRuntime();
method.ldc("SystemExit");