void (@NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); if (!ignoreResourcesWithClose) { return; } String name = expression.getMethodExpression().getReferenceName(); if (name == null) return; if ((StringUtil.containsIgnoreCase(name, "close") || StringUtil.containsIgnoreCase(name, "cleanup")) && !canBeCloseOutsideLoop(expression)) { escaped = true; } }