// Ensure that we've resolved the parameter and local references within
// the JSNI method for later pruning.
JsParameterResolver localResolver = new JsParameterResolver(jsFunction);
localResolver.accept(jsFunction);
} catch (IOException e) {
throw new InternalCompilerException(
"Internal error parsing JSNI in method '" + newMethod
+ "' in type '" + enclosingType.getName() + "'", e);
} catch (JsParserException e) {
int problemCharPos = computeAbsoluteProblemPosition(source,
absoluteJsStartPos, absoluteJsEndPos, jsInfo.getStartLine(),