in reply to finding the method name 2 levels above

Not really; with a lot of work, you could do something like what the Want module does.

But it doesn't make a lot of sense to make a method do something different when it's return value is being passed to a particular other method.

  • Comment on Re: finding the method name 2 levels above