void (@NotNull PsiNewExpression expression) { super.visitNewExpression(expression); PsiJavaCodeReferenceElement classReference = expression.getClassOrAnonymousClassReference(); if (classReference != null) { List<PsiClassType> exceptionTypes = ExceptionUtil.getUnhandledExceptions(expression, place); for (PsiClassType actualType : exceptionTypes) { if (type.isAssignableFrom(actualType) && myTypeFilter.test(actualType)) { addUsage(classReference); break; } } } }