Java source refactoring of 7000 references
问题 I need to change the signature of a method used all over the codebase. Specifically, the method void log(String) will take two additional arguments ( Class c, String methodName ), which need to be provided by the caller, depending on the method where it is called. I can't simply pass null or similar. To give an idea of the scope, Eclipse found 7000 references to that method, so if I change it the whole project will go down. It will take weeks for me to fix it manually. As far as I can tell