@@ -261,7 +261,7 @@ protected ValueInstantiator _constructDefaultValueInstantiator(DeserializationCo
261
261
PotentialCreator primaryPropsBased = potentialCreators .propertiesBased ;
262
262
263
263
// Start by assigning the primary (and only) properties-based creator
264
- _addExplicitPropertyCreator (ctxt , beanDesc , creators ,
264
+ _addSelectedPropertiesBasedCreator (ctxt , beanDesc , creators ,
265
265
CreatorCandidate .construct (config .getAnnotationIntrospector (),
266
266
primaryPropsBased .creator (), primaryPropsBased .propertyDefs ()));
267
267
}
@@ -379,7 +379,7 @@ private void _addImplicitDelegatingConstructors(DeserializationContext ctxt,
379
379
for (PotentialCreator candidate : potentials ) {
380
380
final int argCount = candidate .paramCount ();
381
381
final AnnotatedWithParams ctor = candidate .creator ();
382
- // some single-arg factory methods (String, number) are auto-detected
382
+ // some single-arg Constructors (String, number) are auto-detected
383
383
if (argCount == 1 ) {
384
384
/*boolean added = */ _handleSingleArgumentCreator (creators ,
385
385
ctor , false ,
@@ -438,7 +438,7 @@ private void _addImplicitDelegatingFactories(DeserializationContext ctxt,
438
438
for (PotentialCreator candidate : potentials ) {
439
439
final int argCount = candidate .paramCount ();
440
440
AnnotatedWithParams factory = candidate .creator ();
441
- // some single-arg factory methods (String, number) are auto-detected
441
+ // some single-arg Factory methods (String, number) are auto-detected
442
442
if (argCount == 1 ) {
443
443
/*boolean added=*/ _handleSingleArgumentCreator (creators ,
444
444
factory , false , vchecker .isCreatorVisible (factory ));
@@ -500,12 +500,9 @@ private boolean _addExplicitDelegatingCreator(DeserializationContext ctxt,
500
500
}
501
501
502
502
/**
503
- * Helper method called when there is the explicit "is-creator" annotation with mode
504
- * of "properties-based"
505
- *
506
- * @since 2.9.2
503
+ * Helper method called the single chosen "properties-based" Creator (if any)
507
504
*/
508
- private void _addExplicitPropertyCreator (DeserializationContext ctxt ,
505
+ private void _addSelectedPropertiesBasedCreator (DeserializationContext ctxt ,
509
506
BeanDescription beanDesc , CreatorCollector creators ,
510
507
CreatorCandidate candidate )
511
508
throws JsonMappingException
0 commit comments