void (@NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); if (ignoreFromMethodCall || myMethodMatcher.matches(expression) || isSafelyClosedResource(expression)) { return; } if (isReturnedByContract(expression)) return; registerMethodCallError(expression, expression.getType(), !isStreamHoldingResource(expression)); }