-
- All Implemented Interfaces:
public final class BeanProxy<B extends Object>Bean代理, 支持生成三种类型的数据:
Map,基本对象,JavaBeanBeanProxy的主要目的是虚拟出一个对象使用BeanProxy.fromClass或BeanProxy.fromBean构造该对象 使用BeanProxy.newInstance创建临时对象BeanInstance 使用BeanInstance.setProperty设置目标对象的属性 使用BeanInstance.getPropertyType获取目标某字段的类型 使用BeanInstance.toBean将临时对象转为目标对象
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBeanProxy.BeanInstancepublic classBeanProxy.Companion
-
Method Summary
Modifier and Type Method Description final BeanProxy.BeanInstance<B>newInstance()-
-
Method Detail
-
newInstance
final BeanProxy.BeanInstance<B> newInstance()
-
-
-
-