title: Using class_getInstanceMethod - where is the method implemented in the class hierarchy?
body: <p>Is it possible to find where in a class hierarchy the method retrieved by <code>class_getInstanceMethod</code> is coming from? For example, say Class A implements myMethod. Now say i've subclassed Class A in Class A1. If I call <code>class_getInstanceMethod(ClassA1, myMethod)</code>, is it possible to tell whether the resulting method has been overridden in ClassA1 or comes directly from A1?</p>
  
  <p>I suppose it would be possible to compare the memory addresses of the IMPs if you had access to both ClassA and ClassA1, but I don't have direct access to A.</p>