data: error for java import not found
* added recording an error in this case. * added test for this case.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user