コード例 #1
0
 @Override
 public TypeBindings bindingsForBeanType() {
   if (_bindings == null) {
     _bindings = new TypeBindings(_config.getTypeFactory(), _type);
   }
   return _bindings;
 }
コード例 #2
0
 /** @since 1.9 */
 protected BasicBeanDescription(
     MapperConfig<?> config,
     JavaType type,
     AnnotatedClass ac,
     List<BeanPropertyDefinition> properties) {
   super(type);
   _config = config;
   _annotationIntrospector = (config == null) ? null : config.getAnnotationIntrospector();
   _classInfo = ac;
   _properties = properties;
 }