标签:bsp trace code http eth java tst ima stack
1、获取当前类名:
Thread.currentThread().getStackTrace()[1].getClassName()
2、获取当前方法名:
Thread.currentThread().getStackTrace()[1].getMethodName()
标签:bsp trace code http eth java tst ima stack
原文地址:https://www.cnblogs.com/danhuai/p/11404033.html