获取当前类名 2019-03-11 本文已影响0人 白纸糊 适用于非静态方法:this.getClass().getName() 适用于静态方法:Thread.currentThread().getStackTrace()[1].getClassName()