protected static @NotNull TextRange getTextRangeForOperationElement(@NotNull PsiElement operationElement) {
    var userData = operationElement.getUserData(PyReplaceExpressionUtil.SELECTION_BREAKS_AST_NODE);
    if (userData == null || userData.first == null || userData.second == null) {
      return operationElement.getTextRange();
    }
    else {
      return userData.second.shiftRight(userData.first.getTextOffset());
    }
  }
protected static @NotNull TextRange getTextRangeForOperationElement(@NotNull PsiElement operationElement)