@Override
  protected void invoke(@NotNull ActionContext context, @NotNull PyBinaryExpression element, @NotNull ModPsiUpdater updater) {
    while (element != null) {
      PyElementType operator = element.getOperator();
      if (operator != null && Holder.FLIPPED_OPERATORS.containsKey(operator)) {
        PyElementGenerator elementGenerator = PyElementGenerator.getInstance(context.project());
        element.replace(elementGenerator.createBinaryExpression(Holder.FLIPPED_OPERATORS.get(operator),
                                                                         element.getRightExpression(),
                                                                         element.getLeftExpression()));
        return;
      }
      element = PsiTreeUtil.getParentOfType(element, PyBinaryExpression.class);
    }
  }
@Override
  protected void invoke(@NotNull ActionContext context, @NotNull PyBinaryExpression element, @NotNull ModPsiUpdater updater)