This commit extracts utility functions and separates them from the core logic of the references and rename builder. PR Close #40523
This commit extracts utility functions and separates them from the core logic of the references and rename builder. PR Close #40523