public class CreatorCollector extends Object
限定符和类型 | 字段和说明 |
---|---|
protected AnnotatedWithParams |
_booleanCreator |
protected AnnotatedConstructor |
_defaultConstructor |
protected AnnotatedWithParams |
_delegateCreator |
protected AnnotatedWithParams |
_doubleCreator |
protected AnnotatedWithParams |
_intCreator |
protected AnnotatedWithParams |
_longCreator |
protected CreatorProperty[] |
_propertyBasedArgs |
protected AnnotatedWithParams |
_propertyBasedCreator |
protected AnnotatedWithParams |
_stringCreator |
构造器和说明 |
---|
CreatorCollector(BasicBeanDescription beanDesc,
boolean canFixAccess) |
限定符和类型 | 方法和说明 |
---|---|
void |
addBooleanCreator(AnnotatedWithParams creator) |
void |
addDelegatingCreator(AnnotatedWithParams creator) |
void |
addDoubleCreator(AnnotatedWithParams creator) |
void |
addIntCreator(AnnotatedWithParams creator) |
void |
addLongCreator(AnnotatedWithParams creator) |
void |
addPropertyCreator(AnnotatedWithParams creator,
CreatorProperty[] properties) |
void |
addStringCreator(AnnotatedWithParams creator) |
ValueInstantiator |
constructValueInstantiator(DeserializationConfig config) |
void |
setDefaultConstructor(AnnotatedConstructor ctor) |
protected AnnotatedWithParams |
verifyNonDup(AnnotatedWithParams newOne,
AnnotatedWithParams oldOne,
String type) |
protected AnnotatedConstructor _defaultConstructor
protected AnnotatedWithParams _stringCreator
protected AnnotatedWithParams _intCreator
protected AnnotatedWithParams _longCreator
protected AnnotatedWithParams _doubleCreator
protected AnnotatedWithParams _booleanCreator
protected AnnotatedWithParams _delegateCreator
protected AnnotatedWithParams _propertyBasedCreator
protected CreatorProperty[] _propertyBasedArgs
public CreatorCollector(BasicBeanDescription beanDesc, boolean canFixAccess)
public ValueInstantiator constructValueInstantiator(DeserializationConfig config)
public void setDefaultConstructor(AnnotatedConstructor ctor)
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)
public void addPropertyCreator(AnnotatedWithParams creator, CreatorProperty[] properties)
protected AnnotatedWithParams verifyNonDup(AnnotatedWithParams newOne, AnnotatedWithParams oldOne, String type)