Know the Details of the Current Method Being Executed March 11, 2019 You might be interested to know where the current code flow is. The getMethodName() method in the getStackTrace(), if used as illustrated below, is really helpful. As always, specific use