if you donβt know that your code uses reflection, as you said, I would go for the trivial grep. Do not underestimate the power of an asterisk in vim (it searches for the word that you have under the cursor in the file), although this is limited only to the file that you are currently editing.
Another solution that you could implement is to have a very good testuite (rarely, unfortunately), and then complete the procedure using the deprecation procedure. if you get obsolete output, it means the procedure was called, so it is still in use somewhere. This works even for reflection behavior, but, of course, you can never be sure that you are not fulfilling the situation when your regular call is made.
Stefano Borini Mar 28 '09 at 19:44 2009-03-28 19:44
source share