That kind of gives a point in favor of AI enabled IDEs, these kind of operations could often be achieved with simple refactoring tools available without AI today and save massive amount of trees.