获得到当前方法及类的名字Thread.currentThread().getStackTrace()[0].getClassName();
获得到当前方法及类的名字:
?
Thread.currentThread().getStackTrace()[0].getClassName();
?
Thread.currentThread().getStackTrace()[1].getClassName();
发布时间: 2012-08-26 16:48:06 作者: rapoo
获得到当前方法及类的名字Thread.currentThread().getStackTrace()[0].getClassName();
获得到当前方法及类的名字:
?
Thread.currentThread().getStackTrace()[0].getClassName();
?
Thread.currentThread().getStackTrace()[1].getClassName();