public class CreatorCollector extends Object
Modifier and Type | Field and Description |
---|---|
protected BeanDescription |
_beanDesc |
protected AnnotatedWithParams |
_booleanCreator |
protected boolean |
_canFixAccess |
protected AnnotatedWithParams |
_defaultConstructor
Reference to the default creator (constructor or factory method).
|
protected CreatorProperty[] |
_delegateArgs |
protected AnnotatedWithParams |
_delegateCreator |
protected AnnotatedWithParams |
_doubleCreator |
protected AnnotatedParameter |
_incompleteParameter |
protected AnnotatedWithParams |
_intCreator |
protected AnnotatedWithParams |
_longCreator |
protected CreatorProperty[] |
_propertyBasedArgs |
protected AnnotatedWithParams |
_propertyBasedCreator |
protected AnnotatedWithParams |
_stringCreator |
Constructor and Description |
---|
CreatorCollector(BeanDescription beanDesc,
boolean canFixAccess) |
protected final BeanDescription _beanDesc
protected final boolean _canFixAccess
protected AnnotatedWithParams _defaultConstructor
Note: name is a misnomer, after resolving of [JACKSON-850], since this can also point to factory method.
protected AnnotatedWithParams _stringCreator
protected AnnotatedWithParams _intCreator
protected AnnotatedWithParams _longCreator
protected AnnotatedWithParams _doubleCreator
protected AnnotatedWithParams _booleanCreator
protected AnnotatedWithParams _delegateCreator
protected CreatorProperty[] _delegateArgs
protected AnnotatedWithParams _propertyBasedCreator
protected CreatorProperty[] _propertyBasedArgs
protected AnnotatedParameter _incompleteParameter
public CreatorCollector(BeanDescription beanDesc, boolean canFixAccess)
public ValueInstantiator constructValueInstantiator(DeserializationConfig config)
@Deprecated public void setDefaultConstructor(AnnotatedConstructor ctor)
setDefaultCreator(com.fasterxml.jackson.databind.introspect.AnnotatedWithParams)
instead.public void setDefaultCreator(AnnotatedWithParams creator)
creator
- Creator method; no-arguments constructor or static
factory method.public void addStringCreator(AnnotatedWithParams creator)
public void addIntCreator(AnnotatedWithParams creator)
public void addLongCreator(AnnotatedWithParams creator)
public void addDoubleCreator(AnnotatedWithParams creator)
public void addBooleanCreator(AnnotatedWithParams creator)
public void addDelegatingCreator(AnnotatedWithParams creator, CreatorProperty[] injectables)
public void addPropertyCreator(AnnotatedWithParams creator, CreatorProperty[] properties)
public void addIncompeteParameter(AnnotatedParameter parameter)
public boolean hasDefaultCreator()
protected AnnotatedWithParams verifyNonDup(AnnotatedWithParams newOne, AnnotatedWithParams oldOne, String type)
Copyright © 2012-2013 FasterXML. All Rights Reserved.