Get the Caller Method Name in Java using Thread.currentThread().getStackTrace();
Read this post on pratikgaurav.in