/** * Factory method to use for constructing an instance to use for building * serializers. * * @since 1.9 */ public static BasicBeanDescription forSerialization(POJOPropertiesCollector coll) { BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(), coll.getType(), coll.getClassDef(), coll.getProperties()); desc._jsonValueMethod = coll.getJsonValueMethod(); desc._anyGetterMethod = coll.getAnyGetterMethod(); return desc; }
/** * Factory method to use for constructing an instance to use for building * serializers. * * @since 1.9 */ public static BasicBeanDescription forSerialization(POJOPropertiesCollector coll) { BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(), coll.getType(), coll.getClassDef(), coll.getProperties()); desc._jsonValueMethod = coll.getJsonValueMethod(); desc._anyGetterMethod = coll.getAnyGetterMethod(); return desc; }
/** * Factory method to use for constructing an instance to use for building * serializers. * * @since 1.9 */ public static BasicBeanDescription forSerialization(POJOPropertiesCollector coll) { BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(), coll.getType(), coll.getClassDef(), coll.getProperties()); desc._jsonValueMethod = coll.getJsonValueMethod(); desc._anyGetterMethod = coll.getAnyGetterMethod(); return desc; }
/** * Factory method to use for constructing an instance to use for building * serializers. * * @since 1.9 */ public static BasicBeanDescription forSerialization(POJOPropertiesCollector coll) { BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(), coll.getType(), coll.getClassDef(), coll.getProperties()); desc._jsonValueMethod = coll.getJsonValueMethod(); desc._anyGetterMethod = coll.getAnyGetterMethod(); return desc; }