+ " * @param {FooType} foo\n"
+ " */\n"
+ "function after_foo(foo) {\n"
+ " foo.baz();\n"
+ "}\n";
Compiler compiler = createCompiler();
String preamble = "var obj = new FooType();\n";
String testCode = preamble + "obj.bar();";
compileTestCode(compiler, testCode, externs);
Node root = getScriptRoot(compiler);
RefasterJsScanner scanner = createScanner(compiler, template);