java.lang.Object | |
↳ | com.fasterxml.jackson.core.type.ResolvedType |
Type abstraction that represents Java type that has been resolved
(i.e. has all generic information, if any, resolved to concrete
types).
Note that this is an intermediate type, and all concrete instances
MUST be of type JavaType
from "databind" bundle -- this
abstraction is only needed so that types can be passed through
readValueAs(TypeReference>)
methods.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Method for accessing definitions of contained ("child")
types.
| |||||||||||
Method for checking how many contained types this type
has.
| |||||||||||
Method for accessing name of type variable in indicated
position.
| |||||||||||
Method for accessing content type of this type, if type has
such a thing: simple types do not, structured types do
(like arrays, Collections and Maps)
| |||||||||||
Method for accessing key type for this type, assuming type
has such a concept (only Map types do)
| |||||||||||
Accessor for type-erased
Class of resolved type. | |||||||||||
Method that can be used to find out if the type directly declares generic
parameters (for its direct super-class and/or super-interfaces).
| |||||||||||
Method that can be used to serialize type into form from which
it can be fully deserialized from at a later point (using
TypeFactory from mapper package). |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Method for accessing definitions of contained ("child") types.
index | Index of contained type to return |
---|
Method for checking how many contained types this type has. Contained types are usually generic types, so that generic Maps have 2 contained types.
Method for accessing name of type variable in indicated position. If no name is bound, will use placeholders (derived from 0-based index); if no type variable or argument exists with given index, null is returned.
index | Index of contained type to return |
---|
Method for accessing content type of this type, if type has such a thing: simple types do not, structured types do (like arrays, Collections and Maps)
Method for accessing key type for this type, assuming type has such a concept (only Map types do)
Method that can be used to find out if the type directly declares generic parameters (for its direct super-class and/or super-interfaces).
Method that can be used to serialize type into form from which
it can be fully deserialized from at a later point (using
TypeFactory
from mapper package).
For simple types this is same as calling
getName()
, but for structured types it may additionally
contain type information about contents.