private static void changeEverywhere(@NotNull VarExprent oldVariant,
                                         @NotNull VarExprent newVariant,
                                         @NotNull List<Statement> statements) {
      for (Statement statement : statements) {
        if (statement.getExprents() != null) {
          for (Exprent exprent : statement.getExprents()) {
            for (Exprent nestedExprent : exprent.getAllExprents()) {
              if (nestedExprent.equals(oldVariant)) {
                exprent.replaceExprent(nestedExprent, newVariant);
              }
            }
          }
        }
        for (Statement nestedStat : statement.getStats()) {
          changeEverywhere(oldVariant, newVariant, nestedStat.getStats());
        }
      }
    }
private static void changeEverywhere(@NotNull VarExprent oldVariant,
                                         @NotNull VarExprent newVariant,
                                         @NotNull List<Statement> statements)