Java中得到当前方法的名称(字符串),java当前,// code from
分享于 点击 26336 次 点评:261
Java中得到当前方法的名称(字符串),java当前,// code from
// code from http://www.byrx.net/codes/String methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
// code from http://www.byrx.net/codes/String methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
用户点评