@Contract(pure = true)
  protected boolean isSafelyClosedResource(@NotNull PsiExpression expression) {
    return CLOSE.test(ExpressionUtils.getCallForQualifier(expression));
  }
@Contract(pure = true)
  protected boolean isSafelyClosedResource(@NotNull PsiExpression expression)