| Modifier and Type | Class and Description |
|---|---|
| protected static class | POJOPropertyBuilder.Linked<T>
Node used for creating simple linked lists to efficiently store small sets of things. |
| protected static class | |
| private static interface |
| Modifier and Type | Field and Description |
|---|---|
| protected final AnnotationIntrospector | |
| protected final MapperConfig | |
| protected POJOPropertyBuilder. | |
| protected POJOPropertyBuilder. | |
| protected final boolean | _forSerialization
Whether property is being composed for serialization (true) or deserialization (false) |
| protected POJOPropertyBuilder. | |
| protected final PropertyName | _internalName
Original internal name, derived from accessor, of this property. |
| protected transient PropertyMetadata | |
| protected final PropertyName | _name
External name of logical property; may change with renaming (by new instance being constructed using a new name) |
| protected transient AnnotationIntrospector. | _referenceInfo
Lazily accessed information about this property iff it is a forward or back reference. |
| protected POJOPropertyBuilder. | |
| private static final AnnotationIntrospector. | NOT_REFEFERENCE_PROP
Marker value used to denote that no reference-property information found for this property |
| Access | Constructor and Description |
|---|---|
| public | POJOPropertyBuilder(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName)
|
| protected | POJOPropertyBuilder(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName, PropertyName name)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private <T> boolean | |
| private <T> boolean | |
| private <T> boolean | |
| private <T> boolean | |
| private <T> boolean | |
| private <T> boolean | |
| private <T extends AnnotatedMember> POJOPropertyBuilder. | _applyAnnotations(POJOPropertyBuilder.
Helper method to handle recursive merging of annotations within accessor class, to ensure no annotations are accidentally dropped within chain when non-visible and secondary accessors are pruned later on. |
| private void | _explode(Collection<PropertyName> newNames, Map<PropertyName, POJOPropertyBuilder> props, POJOPropertyBuilder.
|
| private Set | _findExplicitNames(POJOPropertyBuilder.
|
| private <T extends AnnotatedMember> AnnotationMap | _getAllAnnotations(POJOPropertyBuilder.
Replacement, as per [databind#868], of simple access to annotations, which does "deep merge" if an as necessary. |
| protected PropertyMetadata | _getSetterInfo(PropertyMetadata metadata, AnnotatedMember primary)
Helper method that contains logic for accessing and merging all setter information that we needed, regarding things like possible merging of property value, and handling of incoming nulls. |
| protected int | |
| private AnnotationMap | |
| protected Class | |
| private <T> POJOPropertyBuilder. | |
| private <T> POJOPropertyBuilder. | |
| protected AnnotatedMethod | |
| protected AnnotatedMethod | Returns: Chosen setter method, if anyHelper method called in cases where we have encountered two setter methods that have same precedence and cannot be resolved. |
| protected int | |
| private <T> POJOPropertyBuilder. | |
| public void | addAll(POJOPropertyBuilder src)
Method for adding all property members from specified collector into this collector. |
| public void | addCtor(AnnotatedParameter a, PropertyName name, boolean explName, boolean visible, boolean ignored)
|
| public void | |
| public void | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public int | compareTo(POJOPropertyBuilder
the object to be compared. other)Implements java. |
| public boolean | |
| public boolean | |
| public Collection | explode(Collection<PropertyName> newNames)
Method called when a previous call to |
| public JsonProperty. | |
| public Set | findExplicitNames()
Method called to find out set of explicit names for accessors bound together due to implicit name. |
| public JsonInclude. | findInclusion()
Implements abstract com. |
| public ObjectIdInfo | findObjectIdInfo()
Overrides com. |
| public AnnotationIntrospector. | findReferenceType()
Overrides com. |
| public Class | findViews()
Overrides com. |
| protected <T> T | fromMemberAnnotations(POJOPropertyBuilder.
Helper method used for finding annotation values, from accessors relevant to current usage (deserialization, serialization) |
| protected <T> T | |
| public AnnotatedParameter | |
| public Iterator | getConstructorParameters()
Overrides com. getConstructorParameter()
to get access to all constructor parameters, not just the highest priority one.
|
| public AnnotatedField | getField()
Implements abstract com. |
| protected AnnotatedField | |
| public PropertyName | getFullName()
Implements abstract com. |
| public AnnotatedMethod | getGetter()
Implements abstract com. |
| protected AnnotatedMethod | |
| public String | getInternalName()
Implements abstract com. |
| public PropertyMetadata | getMetadata()
Implements abstract com. |
| public String | getName()
Implements abstract com. Implements com. |
| public AnnotatedMember | getPrimaryMember()
Implements abstract com. |
| protected AnnotatedMember | |
| public JavaType | getPrimaryType()
Implements abstract com. |
| public Class | |
| public AnnotatedMethod | getSetter()
Implements abstract com. |
| protected AnnotatedMethod | |
| public PropertyName | getWrapperName()
Implements abstract com. |
| public boolean | |
| public boolean | hasField()
Implements abstract com. |
| public boolean | hasGetter()
Implements abstract com. |
| public boolean | |
| public boolean | hasSetter()
Implements abstract com. |
| public boolean | isExplicitlyIncluded()
Implements abstract com. |
| public boolean | isExplicitlyNamed()
Overrides com. |
| public boolean | isTypeId()
Overrides com. |
| private static <T> POJOPropertyBuilder. | |
| public void | |
| public void | |
| public void | |
| public JsonProperty. | |
| public JsonProperty. | removeNonVisible(boolean
Whether mutators can be "pulled in" by visible
accessors or not. inferMutators, POJOPropertiesCollector parent)
|
| public String | |
| public void | trimByVisibility()
Method called to trim unnecessary entries, such as implicit getter if there is an explict one available. |
| public POJOPropertyBuilder | withName(PropertyName newName)
Implements abstract com. getName() would return newName.
|
| public POJOPropertyBuilder | withSimpleName(String newSimpleName)
Implements abstract com. |