ScalaRootScope rootScope = ((ScalaParserResult) resultIterator.getParserResult()).rootScope();
if (rootScope == null) {
return;
}
rootScope.visibleDfns(ElementKind.CLASS);
scala.collection.Seq<AstDfn> tmpls = rootScope.visibleDfns(ElementKind.CLASS);
if (!tmpls.isEmpty()) {
scala.collection.Iterator itr = tmpls.iterator();
while (itr.hasNext()) {
AstDfn tmpl = (AstDfn) itr.next();