Is there a better way to determine this effect?
Use the refactoring support built into many IDEs. For example, with NetBeans, you can rename a class and view all affected places.
Without the IDE, you can rename the class / method / field, instead of deleting it and gradually, with a few compilation runs, change all the customs of the old name, where the compiler gives an error. Then grep for the new name.
chill
source share