http://blog.csdn.net/pipisorry/article/details/42917661
Java中反射机制和Class.forName、实例对象.class(属性)、实例对象getClass()的区别
获取当前类名:
String className = Thread.currentThread().getStackTrace()[1].getClassName(); //1可改
from:http://blog.csdn.net/pipisorry/article/details/42917661