3.获取Java现在正调用的方法名 String methodName = Thread.currentThread().getStackTrace()[1] .getMethodName(); 相关文章: