Have you tried caller ? It allows you to inspect the whole call stack. I'm not sure what you're trying to do, and usually, it's a bad and dangerous idea to try to solve a problem by inspecting who called you and how. So maybe this is a XY Problem and you should tell us what problem you are actually trying to solve.
In reply to Re: finding the method name 2 levels above
by Corion
in thread finding the method name 2 levels above
by introx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |