2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

Getting the name of the current executing method

Is it possible to get the method name at run time which is executing in a current instance of time?
userimage

The following might just work

Thread.currentThread().getStackTrace() 

This usually contain the method youÂ’re calling it from.

Answer is