AnnotationIntrospector that defines functionality
to discover names of constructor (and factory method) parameters,
without using any defaulting.
Can be used as chainable add-on introspector.
| Modifier and Type | Field and Description |
|---|---|
| protected final SerializableParanamer | _paranamer
Wrapper used to encapsulate actual Paranamer call, to allow serialization of this introspector |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | findImplicitPropertyName(AnnotatedMember param)
Overrides com. Method for finding implicit name for a property that given annotated member (field, method, creator parameter) may represent. |
| public PropertyName | findNameForDeserialization(Annotated
Annotated entity to check a)Overrides com. Method for checking whether given property accessors (method, field) has an annotation that suggests property name to use for deserialization (reading JSON into POJOs). |
| _paranamer | back to summary |
|---|---|
| protected final SerializableParanamer _paranamer Wrapper used to encapsulate actual Paranamer call, to allow serialization of this introspector | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| ParanamerAnnotationIntrospector | back to summary |
|---|---|
| public ParanamerAnnotationIntrospector() | |
| ParanamerAnnotationIntrospector | back to summary |
|---|---|
public ParanamerAnnotationIntrospector(SerializableParanamer pn)
| |
| ParanamerAnnotationIntrospector | back to summary |
|---|---|
| public ParanamerAnnotationIntrospector(Paranamer pn) | |
| findImplicitPropertyName | back to summary |
|---|---|
| public String findImplicitPropertyName(AnnotatedMember param) Overrides com. Doc from com. Method for finding implicit name for a property that given annotated member (field, method, creator parameter) may represent. This is different from explicit, annotation-based property name, in that it is "weak" and does not either proof that a property exists (for example, if visibility is not high enough), or override explicit names. In practice this method is used to introspect optional names for creator parameters (which may or may not be available and cannot be detected by standard databind); or to provide alternate name mangling for fields, getters and/or setters.
| |
| findNameForDeserialization | back to summary |
|---|---|
| public PropertyName findNameForDeserialization(Annotated a) Overrides com. Doc from com. Method for checking whether given property accessors (method,
field) has an annotation that suggests property name to use
for deserialization (reading JSON into POJOs).
Should return null if no annotation
is found; otherwise a non-null name (possibly
| |