2019独角兽企业重金招聘Python工程师标准>>> 类名.this.getClass().getDeclaredFields(); 可以得到类中定义的成员 类名.this.getClass().getMethods() 可以得到类中定义的方法 转载于:https://my.oschina.net/superise/blog/689796