PropertyDescriptor类结合反射
?
demo类
?输出结果:User [name=cxl, age=25]field[0] = cxlfield[1] = 25?
?输出结果:
User [name=cxl, age=25]field[0] = cxlfield[1] = 25