Groovy获取对象类型、属性

//获取对象类型:
println pp.getClass()
//获取对象属性:
println pp.getProperties()
原文地址:https://www.cnblogs.com/dreamer-fish/p/13959891.html