Home
last modified time | relevance | path

Searched refs:beanDesc (Results 1 – 25 of 48) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializerFactory.java94 JavaType type, BeanDescription beanDesc) in createBeanDeserializer() argument
99 JsonDeserializer<?> deser = _findCustomBeanDeserializer(type, config, beanDesc); in createBeanDeserializer()
104 deser = mod.modifyDeserializer(ctxt.getConfig(), beanDesc, deser); in createBeanDeserializer()
112 return buildThrowableDeserializer(ctxt, type, beanDesc); in createBeanDeserializer()
121 JavaType concreteType = materializeAbstractType(ctxt, type, beanDesc); in createBeanDeserializer()
125 beanDesc = config.introspect(concreteType); in createBeanDeserializer()
126 return buildBeanDeserializer(ctxt, concreteType, beanDesc); in createBeanDeserializer()
130 deser = findStdDeserializer(ctxt, type, beanDesc); in createBeanDeserializer()
140 _validateSubType(ctxt, type, beanDesc); in createBeanDeserializer()
144 deser = _findUnsupportedTypeDeserializer(ctxt, type, beanDesc); in createBeanDeserializer()
[all …]
DDeserializers.java33 DeserializationConfig config, BeanDescription beanDesc) in findEnumDeserializer() argument
46 DeserializationConfig config, BeanDescription beanDesc) in findTreeNodeDeserializer() argument
61 DeserializationConfig config, BeanDescription beanDesc) in findBeanDeserializer() argument
83 DeserializationConfig config, BeanDescription beanDesc, in findReferenceDeserializer() argument
109 DeserializationConfig config, BeanDescription beanDesc, in findArrayDeserializer() argument
136 DeserializationConfig config, BeanDescription beanDesc, in findCollectionDeserializer() argument
164 DeserializationConfig config, BeanDescription beanDesc, in findCollectionLikeDeserializer() argument
197 DeserializationConfig config, BeanDescription beanDesc, in findMapDeserializer() argument
233 DeserializationConfig config, BeanDescription beanDesc, in findMapLikeDeserializer() argument
259 DeserializationConfig config, BeanDescription beanDesc) in findEnumDeserializer() argument
[all …]
DBasicDeserializerFactory.java210 BeanDescription beanDesc) in findValueInstantiator() argument
217 AnnotatedClass ac = beanDesc.getClassInfo(); in findValueInstantiator()
225 … instantiator = JDKValueInstantiators.findStdValueInstantiator(config, beanDesc.getBeanClass()); in findValueInstantiator()
227 instantiator = _constructDefaultValueInstantiator(ctxt, beanDesc); in findValueInstantiator()
234 instantiator = insts.findValueInstantiator(config, beanDesc, instantiator); in findValueInstantiator()
237 ctxt.reportBadTypeDefinition(beanDesc, in findValueInstantiator()
244 instantiator = instantiator.createContextual(ctxt, beanDesc); in findValueInstantiator()
255 BeanDescription beanDesc) in _constructDefaultValueInstantiator() argument
258 CreatorCollector creators = new CreatorCollector(beanDesc, ctxt.getConfig()); in _constructDefaultValueInstantiator()
263 VisibilityChecker<?> vchecker = config.getDefaultVisibilityChecker(beanDesc.getBeanClass(), in _constructDefaultValueInstantiator()
[all …]
DDeserializerFactory.java101 BeanDescription beanDesc) in findValueInstantiator() argument
117 JavaType type, BeanDescription beanDesc) in createBeanDeserializer() argument
125 DeserializationContext ctxt, JavaType type, BeanDescription beanDesc, in createBuilderBasedDeserializer() argument
131 JavaType type, BeanDescription beanDesc) in createEnumDeserializer() argument
138 ReferenceType type, BeanDescription beanDesc) in createReferenceDeserializer() argument
146 JavaType type, BeanDescription beanDesc) in createTreeDeserializer() argument
157 ArrayType type, BeanDescription beanDesc) in createArrayDeserializer() argument
161 CollectionType type, BeanDescription beanDesc) in createCollectionDeserializer() argument
165 CollectionLikeType type, BeanDescription beanDesc) in createCollectionLikeDeserializer() argument
169 MapType type, BeanDescription beanDesc) in createMapDeserializer() argument
[all …]
DBeanDeserializerModifier.java63 BeanDescription beanDesc, List<BeanPropertyDefinition> propDefs) { in updateProperties() argument
76 BeanDescription beanDesc, BeanDeserializerBuilder builder) { in updateBuilder() argument
93 BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyDeserializer() argument
110 JavaType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyEnumDeserializer() argument
121 ReferenceType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyReferenceDeserializer() argument
143 ArrayType valueType, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyArrayDeserializer() argument
154 CollectionType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyCollectionDeserializer() argument
165 CollectionLikeType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyCollectionLikeDeserializer() argument
176 MapType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyMapDeserializer() argument
187 MapLikeType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyMapLikeDeserializer() argument
DDeserializerCache.java324 BeanDescription beanDesc = config.introspect(type); in _createDeserializer() local
327 beanDesc.getClassInfo()); in _createDeserializer()
333 JavaType newType = modifyTypeByAnnotation(ctxt, beanDesc.getClassInfo(), type); in _createDeserializer()
336 beanDesc = config.introspect(newType); in _createDeserializer()
340 Class<?> builder = beanDesc.findPOJOBuilder(); in _createDeserializer()
343 ctxt, type, beanDesc, builder); in _createDeserializer()
347 Converter<Object,Object> conv = beanDesc.findDeserializationConverter(); in _createDeserializer()
349 return (JsonDeserializer<Object>) _createDeserializer2(ctxt, factory, type, beanDesc); in _createDeserializer()
355 beanDesc = config.introspect(delegateType); in _createDeserializer()
358 _createDeserializer2(ctxt, factory, delegateType, beanDesc)); in _createDeserializer()
[all …]
DAbstractDeserializer.java63 BeanDescription beanDesc, Map<String, SettableBeanProperty> backRefProps, in AbstractDeserializer() argument
66 _baseType = beanDesc.getType(); in AbstractDeserializer()
79 BeanDescription beanDesc, Map<String, SettableBeanProperty> backRefProps) { in AbstractDeserializer() argument
80 this(builder, beanDesc, backRefProps, null); in AbstractDeserializer()
83 protected AbstractDeserializer(BeanDescription beanDesc) in AbstractDeserializer() argument
85 _baseType = beanDesc.getType(); in AbstractDeserializer()
118 public static AbstractDeserializer constructForNonPOJO(BeanDescription beanDesc) { in constructForNonPOJO() argument
119 return new AbstractDeserializer(beanDesc); in constructForNonPOJO()
DValueInstantiators.java32 BeanDescription beanDesc, ValueInstantiator defaultInstantiator); in findValueInstantiator() argument
43 BeanDescription beanDesc, ValueInstantiator defaultInstantiator) { in findValueInstantiator() argument
DBuilderBasedDeserializer.java50 BeanDescription beanDesc, JavaType targetType, in BuilderBasedDeserializer() argument
55 …this(builder, beanDesc, targetType, properties, backRefs, ignorableProps, ignoreAllUnknown, null, … in BuilderBasedDeserializer()
62 BeanDescription beanDesc, JavaType targetType, in BuilderBasedDeserializer() argument
67 super(builder, beanDesc, properties, backRefs, in BuilderBasedDeserializer()
74 +beanDesc.getType()+")"); in BuilderBasedDeserializer()
83 BeanDescription beanDesc, in BuilderBasedDeserializer() argument
88 this(builder, beanDesc, in BuilderBasedDeserializer()
89 beanDesc.getType(), // Wrong! But got no access via `BeanDeserializerBuilder` in BuilderBasedDeserializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBeanSerializerFactory.java139 BeanDescription beanDesc = config.introspect(origType); in createSerializer() local
140 JsonSerializer<?> ser = findSerializerFromAnnotation(prov, beanDesc.getClassInfo()); in createSerializer()
153 type = intr.refineSerializationType(config, beanDesc.getClassInfo(), origType); in createSerializer()
155 return prov.reportBadTypeDefinition(beanDesc, e.getMessage()); in createSerializer()
163 beanDesc = config.introspect(type); in createSerializer()
167 Converter<Object,Object> conv = beanDesc.findSerializationConverter(); in createSerializer()
169 return (JsonSerializer<Object>) _createSerializer2(prov, type, beanDesc, staticTyping); in createSerializer()
175 beanDesc = config.introspect(delegateType); in createSerializer()
177 ser = findSerializerFromAnnotation(prov, beanDesc.getClassInfo()); in createSerializer()
181 ser = _createSerializer2(prov, delegateType, beanDesc, true); in createSerializer()
[all …]
DSerializers.java30 JavaType type, BeanDescription beanDesc); in findSerializer() argument
39 ReferenceType type, BeanDescription beanDesc, in findReferenceSerializer() argument
49 ArrayType type, BeanDescription beanDesc, in findArraySerializer() argument
59 CollectionType type, BeanDescription beanDesc, in findCollectionSerializer() argument
70 CollectionLikeType type, BeanDescription beanDesc, in findCollectionLikeSerializer() argument
80 MapType type, BeanDescription beanDesc, in findMapSerializer() argument
92 MapLikeType type, BeanDescription beanDesc, in findMapLikeSerializer() argument
105 JavaType type, BeanDescription beanDesc) in findSerializer() argument
112 ReferenceType type, BeanDescription beanDesc, in findReferenceSerializer() argument
116 return findSerializer(config, type, beanDesc); in findReferenceSerializer()
[all …]
DBasicSerializerFactory.java210 BeanDescription beanDesc = config.introspect(keyType); in createKeySerializer() local
216 ser = serializers.findSerializer(config, keyType, beanDesc); in createKeySerializer()
224 ser = _findKeySerializer(ctxt, beanDesc.getClassInfo()); in createKeySerializer()
231 AnnotatedMember am = beanDesc.findJsonValueAccessor(); in createKeySerializer()
252 ser = mod.modifyKeySerializer(config, keyType, beanDesc, ser); in createKeySerializer()
265 BeanDescription beanDesc = config.introspect(keyType); in createKeySerializer() local
269 ser = serializers.findSerializer(config, keyType, beanDesc); in createKeySerializer()
280 AnnotatedMember am = beanDesc.findJsonValueAccessor(); in createKeySerializer()
298 ser = mod.modifyKeySerializer(config, keyType, beanDesc, ser); in createKeySerializer()
353 SerializationConfig config, BeanDescription beanDesc, in findSerializerByLookup() argument
[all …]
DBeanSerializerModifier.java48 BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) { in changeProperties() argument
63 BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) { in orderProperties() argument
77 BeanDescription beanDesc, BeanSerializerBuilder builder) { in updateBuilder() argument
94 BeanDescription beanDesc, JsonSerializer<?> serializer) { in modifySerializer() argument
122 ArrayType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) { in modifyArraySerializer() argument
130 CollectionType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) { in modifyCollectionSerializer() argument
138 CollectionLikeType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) { in modifyCollectionLikeSerializer() argument
146 MapType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) { in modifyMapSerializer() argument
154 MapLikeType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) { in modifyMapLikeSerializer() argument
162 JavaType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) { in modifyEnumSerializer() argument
[all …]
DPropertyBuilder.java52 public PropertyBuilder(SerializationConfig config, BeanDescription beanDesc) in PropertyBuilder() argument
55 _beanDesc = beanDesc; in PropertyBuilder()
67 beanDesc.findPropertyInclusion(JsonInclude.Value.empty()), in PropertyBuilder()
68 config.getDefaultPropertyInclusion(beanDesc.getBeanClass(), in PropertyBuilder()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/
DSimpleSerializers.java109 JavaType type, BeanDescription beanDesc) in findSerializer() argument
170 ArrayType type, BeanDescription beanDesc, in findArraySerializer() argument
172 return findSerializer(config, type, beanDesc); in findArraySerializer()
177 CollectionType type, BeanDescription beanDesc, in findCollectionSerializer() argument
179 return findSerializer(config, type, beanDesc); in findCollectionSerializer()
184 CollectionLikeType type, BeanDescription beanDesc, in findCollectionLikeSerializer() argument
186 return findSerializer(config, type, beanDesc); in findCollectionLikeSerializer()
191 MapType type, BeanDescription beanDesc, in findMapSerializer() argument
194 return findSerializer(config, type, beanDesc); in findMapSerializer()
199 MapLikeType type, BeanDescription beanDesc, in findMapLikeSerializer() argument
[all …]
DSimpleDeserializers.java85 DeserializationConfig config, BeanDescription beanDesc, in findArrayDeserializer() argument
94 DeserializationConfig config, BeanDescription beanDesc) in findBeanDeserializer() argument
102 DeserializationConfig config, BeanDescription beanDesc, in findCollectionDeserializer() argument
112 DeserializationConfig config, BeanDescription beanDesc, in findCollectionLikeDeserializer() argument
122 DeserializationConfig config, BeanDescription beanDesc) in findEnumDeserializer() argument
143 DeserializationConfig config, BeanDescription beanDesc) in findTreeNodeDeserializer() argument
154 DeserializationConfig config, BeanDescription beanDesc, in findReferenceDeserializer() argument
164 DeserializationConfig config, BeanDescription beanDesc, in findMapDeserializer() argument
175 DeserializationConfig config, BeanDescription beanDesc, in findMapLikeDeserializer() argument
DSimpleValueInstantiators.java43 BeanDescription beanDesc, ValueInstantiator defaultInstantiator) in findValueInstantiator() argument
45 ValueInstantiator inst = _classMappings.get(new ClassKey(beanDesc.getBeanClass())); in findValueInstantiator()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DPOJOPropertiesCollectorTest.java418 BasicBeanDescription beanDesc; in testInnerClassWithAnnotationsInCreator() local
420beanDesc = MAPPER.getSerializationConfig().introspect(MAPPER.constructType(Issue701Bean.class)); in testInnerClassWithAnnotationsInCreator()
421 assertNotNull(beanDesc); in testInnerClassWithAnnotationsInCreator()
423beanDesc = MAPPER.getDeserializationConfig().introspect(MAPPER.constructType(Issue701Bean.class)); in testInnerClassWithAnnotationsInCreator()
424 assertNotNull(beanDesc); in testInnerClassWithAnnotationsInCreator()
433 …BasicBeanDescription beanDesc = mapper.getSerializationConfig().introspect(mapper.constructType(Ja… in testUseAnnotationsFalse() local
434 assertNotNull(beanDesc); in testUseAnnotationsFalse()
443 BeanDescription beanDesc = MAPPER.getDeserializationConfig().introspect in testJackson744() local
445 assertNotNull(beanDesc); in testJackson744()
446 AnnotatedMember setter = beanDesc.findAnySetterAccessor(); in testJackson744()
[all …]
DBeanDescriptionTest.java19 …BeanDescription beanDesc = MAPPER.getDeserializationConfig().introspect(MAPPER.constructType(Docum… in testClassDesc() local
20 assertEquals(CLASS_DESC, beanDesc.findClassDescription()); in testClassDesc()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestBeanDeserializer.java63 BeanDescription beanDesc, BeanDeserializerBuilder builder) { in updateBuilder() argument
77 BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyDeserializer() argument
123 BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyDeserializer() argument
124 if (Issue476Type.class == beanDesc.getBeanClass()) { in modifyDeserializer()
127 return super.modifyDeserializer(config, beanDesc, deserializer); in modifyDeserializer()
194 …zer<?> modifyDeserializer(DeserializationConfig config, BeanDescription beanDesc, JsonDeserializer… in modifyDeserializer() argument
195 if (beanDesc.getBeanClass() == Issue1912Bean.class) { in modifyDeserializer()
198 return super.modifyDeserializer(config, beanDesc, deserializer); in modifyDeserializer()
202 …izerBuilder updateBuilder(DeserializationConfig config, BeanDescription beanDesc, BeanDeserializer… in updateBuilder() argument
203 if (beanDesc.getBeanClass() == Issue1912Bean.class) { in updateBuilder()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DBeanSerializerModifierTest.java61 …lic List<BeanPropertyWriter> changeProperties(SerializationConfig config, BeanDescription beanDesc, in changeProperties() argument
78 …ertyWriter> orderProperties(SerializationConfig config, BeanDescription beanDesc, List<BeanPropert… in orderProperties() argument
95 … public JsonSerializer<?> modifySerializer(SerializationConfig config, BeanDescription beanDesc, in modifySerializer() argument
111 BeanDescription beanDesc, BeanSerializerBuilder builder) { in updateBuilder() argument
154 BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) in changeProperties() argument
178 BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) in changeProperties() argument
185 BeanDescription beanDesc, JsonSerializer<?> serializer) { in modifySerializer() argument
194 ArrayType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) { in modifyArraySerializer() argument
206 CollectionType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) {
218 MapType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer) {
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DStdKeyDeserializers.java52 BeanDescription beanDesc = config.introspect(type); in findStringBasedKeyDeserializer() local
54 Constructor<?> ctor = beanDesc.findSingleArgConstructor(String.class); in findStringBasedKeyDeserializer()
63 Method m = beanDesc.findFactoryMethod(String.class); in findStringBasedKeyDeserializer()
82 DeserializationConfig config, BeanDescription beanDesc) throws JsonMappingException in findKeyDeserializer() argument
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/
DOptionalHandlerFactory.java87 BeanDescription beanDesc) in findSerializer() argument
114 return ((Serializers) ob).findSerializer(config, type, beanDesc); in findSerializer()
118 BeanDescription beanDesc) in findDeserializer() argument
147 return ((Deserializers) ob).findBeanDeserializer(type, config, beanDesc); in findDeserializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DRootNameLookup.java36 BeanDescription beanDesc = config.introspectClassAnnotations(rootType); in findRootName() local
38 AnnotatedClass ac = beanDesc.getClassInfo(); in findRootName()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestTypeModifiers.java38 MapLikeType type, BeanDescription beanDesc, in setupModule()
50 CollectionLikeType type, BeanDescription beanDesc, in setupModule()
62 …BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDes… in setupModule()
72 BeanDescription beanDesc, KeyDeserializer keyDeserializer, in setupModule()

12