Collection<PsiClassType> (@NotNull PsiElement element, @Nullable PsiElement topElement, boolean includeSelfCalls) { return ContainerUtil.notNullize(collectUnhandledExceptions(element, topElement, null, includeSelfCalls ? c -> false : expression -> { PsiMethod method = expression.resolveMethod(); if (method == null) return false; return method == PsiTreeUtil.getParentOfType(expression, PsiMethod.class); })); }