花费 5 ms
Java获取当前类名的两种方法

适用于非静态方法:this.getClass().getName() 适用于静态方法:Thread.currentThread().getStackTrace()[1].getCla ...

Sat Jun 24 06:55:00 CST 2017 1 30391

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM