...it is not very tested, and I am not sure about autoloading, but I suppose this is what you seek. BUT, remember Merlyn's words, class would never care about method actually launched.
Update: I did not tested multiple inheritance.

Comment on
Re: Detecting which class a method is defined in
Download CodeReplies are listed 'Best First'.