mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-52516 - IAE: HighlightUsagesHandlerBase.addOccurrence
This commit is contained in:
+3
-1
@@ -89,7 +89,9 @@ public class HighlightExceptionsHandler extends HighlightUsagesHandlerBase<PsiCl
|
||||
}
|
||||
else if (psiExpression instanceof PsiNewExpression) {
|
||||
PsiJavaCodeReferenceElement ref = ((PsiNewExpression)psiExpression).getClassReference();
|
||||
addOccurrence(ref);
|
||||
if (ref != null) {
|
||||
addOccurrence(ref);
|
||||
}
|
||||
}
|
||||
else {
|
||||
addOccurrence(statement.getException());
|
||||
|
||||
Reference in New Issue
Block a user