data: error for java import not found

* added recording an error in this case.
* added test for this case.
This commit is contained in:
malte_langkabel
2016-08-17 17:04:23 +02:00
parent a3001b2b72
commit 3d40f4ed4e
2 changed files with 17 additions and 0 deletions
@@ -401,6 +401,13 @@ public class JavaAstVisitor extends JavaAstVisitorAdapter
);
}
}
else
{
JavaIndexer.recordError(
m_callbackId, "Import not found.", true, true,
nameExpr.getBeginLine(), nameExpr.getBeginColumn(), nameExpr.getEndLine(), nameExpr.getEndColumn()
);
}
}
catch (Exception e)
{