摘要: public class TestMain { public static void main(String[] args){ hello(); } public static void hello() { String className = Thread.currentThread().getStackTrace()[2].getClassName(); String methodName = Thread.currentThread().getStackTrace()[2].getMethodName(); ... 阅读全文
posted @ 2013-07-20 22:54 yanghuahui 阅读(4806) 评论(0) 推荐(0)