ValueInstantiator later on.
| Modifier and Type | Field and Description |
|---|---|
| protected SettableBeanProperty[] | |
| protected final BeanDescription | _beanDesc
Type of bean being created |
| protected final boolean | |
| protected final AnnotatedWithParams[] | _creators
Set of creators we have collected so far |
| protected SettableBeanProperty[] | |
| protected int | _explicitCreators
Bitmask of creators that were explicitly marked as creators; false for auto-detected (ones included base on naming and/or visibility, not annotation) |
| protected final boolean | |
| protected boolean | |
| protected SettableBeanProperty[] | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private JavaType | _computeDelegateType(DeserializationContext ctxt, AnnotatedWithParams creator, SettableBeanProperty[] delegateArgs)
|
| private <T extends AnnotatedMember> T | |
| protected boolean | _isEnumValueOf(AnnotatedWithParams creator)
Helper method for recognizing `Enum.valueOf()` factory method |
| protected void | _reportDuplicateCreator(int typeIndex, boolean explicit, AnnotatedWithParams oldOne, AnnotatedWithParams newOne)
|
| public void | |
| public void | |
| public void | |
| public void | addDelegatingCreator(AnnotatedWithParams creator, boolean explicit, SettableBeanProperty[] injectables, int delegateeIndex)
|
| public void | |
| public void | |
| public void | |
| public void | addPropertyCreator(AnnotatedWithParams creator, boolean explicit, SettableBeanProperty[] properties)
|
| public void | |
| public ValueInstantiator | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | setDefaultCreator(AnnotatedWithParams
Creator method; no-arguments constructor or factory method. creator)Method called to indicate the default creator: no-arguments constructor or factory method that is called to instantiate a value before populating it with data. |
| protected boolean | Returns: True if specified Creator is to be used
|
| _arrayDelegateArgs | back to summary |
|---|---|
| protected SettableBeanProperty[] _arrayDelegateArgs | |
| _beanDesc | back to summary |
|---|---|
| protected final BeanDescription _beanDesc Type of bean being created | |
| _canFixAccess | back to summary |
|---|---|
| protected final boolean _canFixAccess | |
| _creators | back to summary |
|---|---|
| protected final AnnotatedWithParams[] _creators Set of creators we have collected so far
| |
| _delegateArgs | back to summary |
|---|---|
| protected SettableBeanProperty[] _delegateArgs | |
| _explicitCreators | back to summary |
|---|---|
| protected int _explicitCreators Bitmask of creators that were explicitly marked as creators; false for auto-detected (ones included base on naming and/or visibility, not annotation)
| |
| _forceAccess | back to summary |
|---|---|
protected final boolean _forceAccess
| |
| _hasNonDefaultCreator | back to summary |
|---|---|
| protected boolean _hasNonDefaultCreator | |
| _propertyBasedArgs | back to summary |
|---|---|
| protected SettableBeanProperty[] _propertyBasedArgs | |
| C_ARRAY_DELEGATE | back to summary |
|---|---|
| protected static final int C_ARRAY_DELEGATE | |
| C_BIG_DECIMAL | back to summary |
|---|---|
| protected static final int C_BIG_DECIMAL | |
| C_BIG_INTEGER | back to summary |
|---|---|
| protected static final int C_BIG_INTEGER | |
| C_BOOLEAN | back to summary |
|---|---|
| protected static final int C_BOOLEAN | |
| C_DEFAULT | back to summary |
|---|---|
| protected static final int C_DEFAULT | |
| C_DELEGATE | back to summary |
|---|---|
| protected static final int C_DELEGATE | |
| C_DOUBLE | back to summary |
|---|---|
| protected static final int C_DOUBLE | |
| C_INT | back to summary |
|---|---|
| protected static final int C_INT | |
| C_LONG | back to summary |
|---|---|
| protected static final int C_LONG | |
| C_PROPS | back to summary |
|---|---|
| protected static final int C_PROPS | |
| C_STRING | back to summary |
|---|---|
| protected static final int C_STRING | |
| TYPE_DESCS | back to summary |
|---|---|
| protected static final String[] TYPE_DESCS | |
| CreatorCollector | back to summary |
|---|---|
| public CreatorCollector(BeanDescription beanDesc, MapperConfig<?> config) | |
| _computeDelegateType | back to summary |
|---|---|
| private JavaType _computeDelegateType(DeserializationContext ctxt, AnnotatedWithParams creator, SettableBeanProperty[] delegateArgs) throws JsonMappingException | |
| _fixAccess | back to summary |
|---|---|
| private <T extends AnnotatedMember> T _fixAccess(T member) | |
| _isEnumValueOf | back to summary |
|---|---|
| protected boolean _isEnumValueOf(AnnotatedWithParams creator) Helper method for recognizing `Enum.valueOf()` factory method
| |
| _reportDuplicateCreator | back to summary |
|---|---|
| protected void _reportDuplicateCreator(int typeIndex, boolean explicit, AnnotatedWithParams oldOne, AnnotatedWithParams newOne) | |
| addBigDecimalCreator | back to summary |
|---|---|
| public void addBigDecimalCreator(AnnotatedWithParams creator, boolean explicit) | |
| addBigIntegerCreator | back to summary |
|---|---|
| public void addBigIntegerCreator(AnnotatedWithParams creator, boolean explicit) | |
| addBooleanCreator | back to summary |
|---|---|
| public void addBooleanCreator(AnnotatedWithParams creator, boolean explicit) | |
| addDelegatingCreator | back to summary |
|---|---|
| public void addDelegatingCreator(AnnotatedWithParams creator, boolean explicit, SettableBeanProperty[] injectables, int delegateeIndex) | |
| addDoubleCreator | back to summary |
|---|---|
| public void addDoubleCreator(AnnotatedWithParams creator, boolean explicit) | |
| addIntCreator | back to summary |
|---|---|
| public void addIntCreator(AnnotatedWithParams creator, boolean explicit) | |
| addLongCreator | back to summary |
|---|---|
| public void addLongCreator(AnnotatedWithParams creator, boolean explicit) | |
| addPropertyCreator | back to summary |
|---|---|
| public void addPropertyCreator(AnnotatedWithParams creator, boolean explicit, SettableBeanProperty[] properties) | |
| addStringCreator | back to summary |
|---|---|
| public void addStringCreator(AnnotatedWithParams creator, boolean explicit) | |
| constructValueInstantiator | back to summary |
|---|---|
| public ValueInstantiator constructValueInstantiator(DeserializationContext ctxt) throws JsonMappingException | |
| hasDefaultCreator | back to summary |
|---|---|
public boolean hasDefaultCreator()
| |
| hasDelegatingCreator | back to summary |
|---|---|
public boolean hasDelegatingCreator()
| |
| hasPropertyBasedCreator | back to summary |
|---|---|
public boolean hasPropertyBasedCreator()
| |
| setDefaultCreator | back to summary |
|---|---|
| public void setDefaultCreator(AnnotatedWithParams creator) Method called to indicate the default creator: no-arguments constructor or factory method that is called to instantiate a value before populating it with data. Default creator is only used if no other creators are indicated.
| |
| verifyNonDup | back to summary |
|---|---|
protected boolean verifyNonDup(AnnotatedWithParams newOne, int typeIndex, boolean explicit)
| |