| Modifier and Type | Class and Description |
|---|---|
| protected static class | POJOPropertyBuilder.
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 boolean | _hasExplicitName(POJOPropertyBuilder.
|
| 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. Compares this object with the specified object for order. |
| public boolean | |
| public boolean | |
| public Collection | explode(Collection<PropertyName> newNames)
Method called when a previous call to |
| public JsonProperty. | |
| public List | findAliases()
Overrides com. Method for finding all aliases of the property, if any. |
| 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. Method used to check if this property has specific inclusion override associated with it or not. |
| public ObjectIdInfo | findObjectIdInfo()
Overrides com. Method used to check whether this logical property indicates that value POJOs should be written using additional Object Identifier (or, when multiple references exist, all but first AS Object Identifier). |
| public AnnotationIntrospector. | findReferenceType()
Overrides com. Method used to find whether property is part of a bi-directional reference. |
| public Class | findViews()
Overrides com. Method used to find View-inclusion definitions for the property. |
| 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. Additional method that may be called instead of |
| 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. Accessor that can be used to determine implicit name from underlying element(s) before possible renaming. |
| public PropertyMetadata | getMetadata()
Implements abstract com. Method for accessing additional metadata. |
| public String | getName()
Implements abstract com. Implements com. Accessor for name used for external representation (in JSON). |
| public AnnotatedMember | getPrimaryMember()
Implements abstract com. Method used to find the property member (getter, setter, field) that has the highest precedence in current context (getter method when serializing, if available, and so forth), if any. |
| protected AnnotatedMember | |
| public JavaType | getPrimaryType()
Implements abstract com. Type determined from the primary member for the property being built, considering precedence according to whether we are processing serialization or deserialization. |
| public Class | |
| public AnnotatedMethod | getSetter()
Implements abstract com.
|
| protected AnnotatedMethod | |
| public PropertyName | getWrapperName()
Implements abstract com. Accessor for finding wrapper name to use for property (if any). |
| public boolean | |
| public boolean | Returns: True if this property has specified explicit nameName to check against name)Method find out if this property has specified explicit name: this is generally needed for properties that have not yet been renamed (Creator-detection). |
| 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. Accessor that can be called to check whether property was included due to an explicit marker (usually annotation), or just by naming convention. |
| public boolean | isExplicitlyNamed()
Overrides com. Accessor that can be called to check whether property name was due to an explicit marker (usually annotation), or just by naming convention or use of "use-default-name" marker (annotation). |
| public boolean | isTypeId()
Overrides com. Method used to check whether this logical property has a marker to indicate it should be used as the type id for polymorphic type handling. |
| private static <T> POJOPropertyBuilder. | |
| public void | |
| 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. Method that can be used to create a definition with
same settings as this one, but with different
(external) name; that is, one for which
|
| public POJOPropertyBuilder | withSimpleName(String newSimpleName)
Implements abstract com. Alternate "mutant factory" that will only change simple name, but leave other optional parts (like namespace) as is. |