private boolean canBeCloseOutsideLoop(PsiExpression expression) {
      if (loopStatement == null) {
        return false;
      }
      return !PsiTreeUtil.isAncestor(loopStatement, expression, false);
    }
private boolean canBeCloseOutsideLoop(PsiExpression expression)