method name

This commit is contained in:
b117020
2017-12-15 01:07:31 +05:30
parent af3aa2d8dc
commit 90ffdb4b89

View File

@ -0,0 +1,3 @@
###code to view name of current method
String methodName = Thread.currentThread().getStackTrace()[1].getMethodName();