This code is created for when there are large projects that you need to adapt and there are mehtods moved into a new class. Instead of renaming manually you can use this code to speed up the process.
- Be more dynamic about the file in which its executed.
- Automatically detect all methods present inside a class.