String newScript = createNativeMethodInjector(jsniSignature, paramNames, js);
try {
// TODO: somehow insert file/line info into the script
Variant result = execute(newScript);
if (result != null) {
result.dispose();
}
} catch (RuntimeException e) {
throw new RuntimeException(file + "(" + line
+ "): Failed to create JSNI method with signature '" + jsniSignature
+ "'", e);