void (@NotNull PsiResourceExpression expression) { super.visitResourceExpression(expression); List<PsiClassType> exceptionTypes = ExceptionUtil.getUnhandledCloserExceptions(expression, place); for (PsiClassType actualType : exceptionTypes) { if (type.isAssignableFrom(actualType) && myTypeFilter.test(actualType)) { addUsage(expression); break; } } }