Modifier and Type | Field and Description |
---|---|
protected JavaType | |
private static final long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public TypeBindings | |
public StringBuilder | getErasedSignature(StringBuilder
StringBuilder to append signature to sb)Implements abstract com. Method for accessing signature without generic type information, in form compatible with all versions of JVM, and specifically used for type descriptions when generating byte code. |
public StringBuilder | getGenericSignature(StringBuilder
StringBuilder to append signature to sb)Implements abstract com.
|
public JavaType | |
public JavaType | getSuperClass()
Overrides com. Accessor for finding fully resolved parent class of this type, if it has one; null if not. |
public boolean | |
public JavaType | refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)
Implements abstract com. Mutant factory method that will try to create and return a sub-type instance for known parameterized types; for other types will return `null` to indicate that no just refinement makes necessary sense, without trying to detect special status through implemented interfaces. |
public void | |
public String | toString()
Implements abstract com. Returns a string representation of the object. |
public JavaType | withContentType(JavaType contentType)
Implements abstract com. Mutant factory method that may be called on structured types that have a so-called content type (element of arrays, value type of Maps, referenced type of referential types), and will construct a new instance that is identical to this instance, except that it has specified content type, instead of current one. |
public JavaType | withContentTypeHandler(Object
Handler to pass to new instance created h)Implements abstract com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. |
public JavaType | withContentValueHandler(Object
Handler to pass to new instance created h)Implements abstract com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. |
public JavaType | withStaticTyping()
Implements abstract com. Method that can be called to get a type instance that indicates that values of the type should be handled using "static typing" for purposes of serialization (as opposed to "dynamic" aka runtime typing): meaning that no runtime information is needed for determining serializers to use. |
public JavaType | withTypeHandler(Object
Handler to pass to new instance created h)Implements abstract com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. |
public JavaType | withValueHandler(Object
Handler to pass to new instance created h)Implements abstract com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. |
_referencedType | back to summary |
---|---|
protected JavaType _referencedType |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides com. |
ResolvedRecursiveType | back to summary |
---|---|
public ResolvedRecursiveType(Class<?> erasedType, TypeBindings bindings) |
getBindings | back to summary |
---|---|
public TypeBindings getBindings() Overrides com.
|
getErasedSignature | back to summary |
---|---|
public StringBuilder getErasedSignature(StringBuilder sb) Implements abstract com. Doc from com. Method for accessing signature without generic type information, in form compatible with all versions of JVM, and specifically used for type descriptions when generating byte code.
|
getGenericSignature | back to summary |
---|---|
public StringBuilder getGenericSignature(StringBuilder sb) Implements abstract com.
|
getSelfReferencedType | back to summary |
---|---|
public JavaType getSelfReferencedType() |
getSuperClass | back to summary |
---|---|
public JavaType getSuperClass() Overrides com. Doc from com. Accessor for finding fully resolved parent class of this type, if it has one; null if not.
|
isContainerType | back to summary |
---|---|
public boolean isContainerType() Implements abstract com.
|
refine | back to summary |
---|---|
public JavaType refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) Implements abstract com. Doc from com. Mutant factory method that will try to create and return a sub-type instance for known parameterized types; for other types will return `null` to indicate that no just refinement makes necessary sense, without trying to detect special status through implemented interfaces.
|
setReference | back to summary |
---|---|
public void setReference(JavaType ref) |
toString | back to summary |
---|---|
public String toString() Implements abstract com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- |
withContentType | back to summary |
---|---|
public JavaType withContentType(JavaType contentType) Implements abstract com. Doc from com. Mutant factory method that may be called on structured types
that have a so-called content type (element of arrays, value type
of Maps, referenced type of referential types),
and will construct a new instance that is identical to
this instance, except that it has specified content type, instead of current
one. If content type is already set to given type, |
withContentTypeHandler | back to summary |
---|---|
public JavaType withContentTypeHandler(Object h) Implements abstract com. Doc from com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. May be removed from Jackson 3.0. This mutant factory method will construct a new instance that is identical to this instance, except that it will have specified content type (element type for arrays, value type for Maps and so forth) handler assigned. |
withContentValueHandler | back to summary |
---|---|
public JavaType withContentValueHandler(Object h) Implements abstract com. Doc from com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. May be removed from Jackson 3.0. Mutant factory method that will construct a new instance that is identical to this instance, except that it will have specified content value handler assigned. |
withStaticTyping | back to summary |
---|---|
public JavaType withStaticTyping() Implements abstract com. Doc from com. Method that can be called to get a type instance that indicates that values of the type should be handled using "static typing" for purposes of serialization (as opposed to "dynamic" aka runtime typing): meaning that no runtime information is needed for determining serializers to use. The main use case is to allow forcing of specific root value serialization type, and specifically in resolving serializers for contained types (element types for arrays, Collections and Maps).
|
withTypeHandler | back to summary |
---|---|
public JavaType withTypeHandler(Object h) Implements abstract com. Doc from com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. May be removed from Jackson 3.0. This mutant factory method will construct a new instance that is identical to this instance, except that it will have specified type handler assigned. |
withValueHandler | back to summary |
---|---|
public JavaType withValueHandler(Object h) Implements abstract com. Doc from com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. May be removed from Jackson 3.0. This mutant factory method will construct a new instance that is identical to this instance, except that it will have specified value handler assigned. |