void (@NotNull PsiCallExpression callExpression) { super.visitCallExpression(callExpression); final JavaResolveResult resolveResult = callExpression.resolveMethodGenerics(); final PsiElement target = resolveResult.getElement(); if (!(target instanceof PsiMethod)) { return; } final PsiClassType[] referencedTypes = ((PsiMethod)target).getThrowsList().getReferencedTypes(); myThrownExceptionTypes.addAll(ExceptionUtil.collectSubstituted(resolveResult.getSubstitutor(), referencedTypes, callExpression.getResolveScope())); }