Home
last modified time | relevance | path

Searched refs:propDef (Results 1 – 15 of 15) sorted by relevance

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DCreatorCandidate.java42 public BeanPropertyDefinition propertyDef(int i) { return _params[i].propDef; } in propertyDef()
45 BeanPropertyDefinition propDef = _params[i].propDef; in paramName() local
46 if (propDef != null) { in paramName()
47 return propDef.getFullName(); in paramName()
53 BeanPropertyDefinition propDef = _params[i].propDef; in explicitParamName() local
54 if (propDef != null) { in explicitParamName()
55 if (propDef.isExplicitlyNamed()) { in explicitParamName()
56 return propDef.getFullName(); in explicitParamName()
96 public final BeanPropertyDefinition propDef; field in CreatorCandidate.Param
103 propDef = pd; in Param()
[all …]
DSetterlessProperty.java36 public SetterlessProperty(BeanPropertyDefinition propDef, JavaType type, in SetterlessProperty() argument
39 super(propDef, type, typeDeser, contextAnnotations); in SetterlessProperty()
DFieldProperty.java43 public FieldProperty(BeanPropertyDefinition propDef, JavaType type, in FieldProperty() argument
46 super(propDef, type, typeDeser, contextAnnotations); in FieldProperty()
DMethodProperty.java38 public MethodProperty(BeanPropertyDefinition propDef, in MethodProperty() argument
42 super(propDef, type, typeDeser, contextAnnotations); in MethodProperty()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DAttributePropertyWriter.java33 protected AttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, in AttributePropertyWriter() argument
35 this(attrName, propDef, contextAnnotations, declaredType, propDef.findInclusion()); in AttributePropertyWriter()
38 protected AttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, in AttributePropertyWriter() argument
42 super(propDef, contextAnnotations, declaredType, in AttributePropertyWriter()
51 BeanPropertyDefinition propDef, in construct() argument
55 return new AttributePropertyWriter(attrName, propDef, in construct()
70 AnnotatedClass declaringClass, BeanPropertyDefinition propDef, JavaType type) { in withConfig() argument
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializerFactory.java418 …SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(ctxt.getConfig(), am, in buildThrowableDeserializer() local
420 SettableBeanProperty prop = constructSettableProperty(ctxt, beanDesc, propDef, in buildThrowableDeserializer()
557 for (BeanPropertyDefinition propDef : propDefs) { in addBeanProps()
563 if (propDef.hasSetter()) { in addBeanProps()
564 AnnotatedMethod setter = propDef.getSetter(); in addBeanProps()
566 prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType); in addBeanProps()
567 } else if (propDef.hasField()) { in addBeanProps()
568 AnnotatedField field = propDef.getField(); in addBeanProps()
570 prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType); in addBeanProps()
573 AnnotatedMethod getter = propDef.getGetter(); in addBeanProps()
[all …]
DBasicDeserializerFactory.java290 for (BeanPropertyDefinition propDef : beanDesc.findProperties()) { in _findCreatorsFromProperties()
291 Iterator<AnnotatedParameter> it = propDef.getConstructorParameters(); in _findCreatorsFromProperties()
308 index, owner, defs[index], propDef); in _findCreatorsFromProperties()
311 defs[index] = propDef; in _findCreatorsFromProperties()
426 BeanPropertyDefinition propDef = candidate.propertyDef(0); in _addDeserializerConstructors() local
427 boolean useProps = _checkIfCreatorPropertyBased(intr, ctor, propDef); in _addDeserializerConstructors()
441 if (propDef != null) { in _addDeserializerConstructors()
442 ((POJOPropertyBuilder) propDef).removeConstructors(); in _addDeserializerConstructors()
461 BeanPropertyDefinition propDef = candidate.propertyDef(i); in _addDeserializerConstructors() local
463 final PropertyName name = (propDef == null) ? null : propDef.getFullName(); in _addDeserializerConstructors()
[all …]
DSettableBeanProperty.java133 protected SettableBeanProperty(BeanPropertyDefinition propDef, in SettableBeanProperty() argument
136 this(propDef.getFullName(), type, propDef.getWrapperName(), typeDeser, in SettableBeanProperty()
137 contextAnnotations, propDef.getMetadata()); in SettableBeanProperty()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DPropertyBuilder.java92 BeanPropertyDefinition propDef, JavaType declaredType, JsonSerializer<?> ser, in buildWriter() argument
102 if (propDef == null) { in buildWriter()
105 … return prov.reportBadPropertyDefinition(_beanDesc, propDef, ClassUtil.exceptionMessage(e)); in buildWriter()
120 prov.reportBadPropertyDefinition(_beanDesc, propDef, in buildWriter()
134 AnnotatedMember accessor = propDef.getAccessor(); in buildWriter()
137 return prov.reportBadPropertyDefinition(_beanDesc, propDef, in buildWriter()
150 inclV = inclV.withOverrides(propDef.findInclusion()); in buildWriter()
177 _throwWrapped(e, propDef.getName(), defaultBean); in buildWriter()
206 valueToSuppress = prov.includeFilterInstance(propDef, inclV.getValueFilter()); in buildWriter()
225 Class<?>[] views = propDef.findViews(); in buildWriter()
[all …]
DVirtualBeanPropertyWriter.java32 protected VirtualBeanPropertyWriter(BeanPropertyDefinition propDef, in VirtualBeanPropertyWriter() argument
35 this(propDef, contextAnnotations, declaredType, null, null, null, in VirtualBeanPropertyWriter()
36 propDef.findInclusion()); in VirtualBeanPropertyWriter()
52 protected VirtualBeanPropertyWriter(BeanPropertyDefinition propDef, in VirtualBeanPropertyWriter() argument
57 super(propDef, propDef.getPrimaryMember(), contextAnnotations, declaredType, in VirtualBeanPropertyWriter()
64 protected VirtualBeanPropertyWriter(BeanPropertyDefinition propDef, in VirtualBeanPropertyWriter() argument
69 this(propDef, contextAnnotations, declaredType, ser, typeSer, serType, inclusion, null); in VirtualBeanPropertyWriter()
139 AnnotatedClass declaringClass, BeanPropertyDefinition propDef, JavaType type); in withConfig() argument
DPropertyWriter.java30 protected PropertyWriter(BeanPropertyDefinition propDef) { in PropertyWriter() argument
31 super(propDef.getMetadata()); in PropertyWriter()
DBeanPropertyWriter.java210 public BeanPropertyWriter(BeanPropertyDefinition propDef, in BeanPropertyWriter() argument
217 super(propDef); in BeanPropertyWriter()
221 _name = new SerializedString(propDef.getName()); in BeanPropertyWriter()
222 _wrapperName = propDef.getWrapperName(); in BeanPropertyWriter()
252 public BeanPropertyWriter(BeanPropertyDefinition propDef, in BeanPropertyWriter() argument
258 this(propDef, member, contextAnnotations, declaredType, in BeanPropertyWriter()
DBeanSerializerFactory.java804 BeanPropertyDefinition propDef, in _constructWriter() argument
808 final PropertyName name = propDef.getFullName(); in _constructWriter()
810 BeanProperty.Std property = new BeanProperty.Std(name, type, propDef.getWrapperName(), in _constructWriter()
811 accessor, propDef.getMetadata()); in _constructWriter()
831 return pb.buildWriter(prov, propDef, type, annotatedSerializer, in _constructWriter()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestVirtualProperties.java53 private CustomVProperty(BeanPropertyDefinition propDef, in CustomVProperty() argument
55 super(propDef, ctxtAnn, type); in CustomVProperty()
71 AnnotatedClass declaringClass, BeanPropertyDefinition propDef, in withConfig() argument
74 return new CustomVProperty(propDef, declaringClass.getAnnotations(), type); in withConfig()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DJacksonAnnotationIntrospector.java1010 SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(config, in _constructVirtualProperty() local
1013 return AttributePropertyWriter.construct(attrName, propDef, in _constructVirtualProperty()
1028 SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(config, in _constructVirtualProperty() local
1042 return bpw.withConfig(config, ac, propDef, type); in _constructVirtualProperty()