验证中...
Languages: Java
Categories: 常用工具包
Latest update 2019-05-16 15:02
得到当前方法的名字
Raw Copy
String methodName = Thread.currentThread().getStackTrace()[1].getMethodName();

Comment list( 0 )

You need to Sign in for post a comment

Help Search