首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

取得到当前方法及类的名字Thread.currentThread().getStackTrace()[0].getClassName()

2012-08-26 
获得到当前方法及类的名字Thread.currentThread().getStackTrace()[0].getClassName()获得到当前方法及类

获得到当前方法及类的名字Thread.currentThread().getStackTrace()[0].getClassName();

获得到当前方法及类的名字:

?

Thread.currentThread().getStackTrace()[0].getClassName();

?

Thread.currentThread().getStackTrace()[1].getClassName();

热点排行