摘要: 适用于非静态方法:this.getClass().getName() 适用于静态方法:Thread.currentThread().getStackTrace()[1].getClassName() 获取类名: 1、在类的实例中可使用this.getClass().getName();但在stati 阅读全文
posted @ 2017-06-23 22:55 锐洋智能 阅读(43967) 评论(1) 推荐(3) 编辑