Is there a way to figure out whether a method was called internally (from another method in the file) or externally (from another file)? Or alternatively, whether or not a method will return to an internal call or an external one?
Obviously I could add some fake boolean parameter to my methods and just send true or false depending upon where I call it but if I'm fixed with certain method structures I can't do that.