Top Description Fields Constructors Methods
tools.jackson.databind.type

public Class ResolvedRecursiveType

extends IdentityEqualityType
Class Inheritance
Imports
tools.jackson.databind.JavaType

Internal placeholder type used for self-references.
Since
2.7

Field Summary

Modifier and TypeField and Description
protected JavaType
private static final long

Constructor Summary

AccessConstructor and Description
public
ResolvedRecursiveType(Class<?> erasedType, TypeBindings bindings)

Method Summary

Modifier and TypeMethod and Description
public TypeBindings
public StringBuilder
getErasedSignature(StringBuilder sb)

Implements abstract tools.jackson.databind.type.TypeBase.getErasedSignature.

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
public JavaType
public JavaType
getSuperClass()

Overrides tools.jackson.databind.type.TypeBase.getSuperClass.

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 tools.jackson.databind.JavaType.refine.

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 tools.jackson.databind.JavaType.toString.

Returns a string representation of the object.

public JavaType
withContentType(JavaType contentType)

Implements abstract tools.jackson.databind.JavaType.withContentType.

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 h)

Implements abstract tools.jackson.databind.JavaType.withContentTypeHandler.

Internal method that should not be used by any code outside of jackson-databind: only used internally by databind.

public JavaType
withContentValueHandler(Object h)

Implements abstract tools.jackson.databind.JavaType.withContentValueHandler.

Internal method that should not be used by any code outside of jackson-databind: only used internally by databind.

public JavaType
withStaticTyping()

Implements abstract tools.jackson.databind.JavaType.withStaticTyping.

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 h)

Implements abstract tools.jackson.databind.JavaType.withTypeHandler.

Internal method that should not be used by any code outside of jackson-databind: only used internally by databind.

public JavaType
withValueHandler(Object h)

Implements abstract tools.jackson.databind.JavaType.withValueHandler.

Internal method that should not be used by any code outside of jackson-databind: only used internally by databind.

Inherited from tools.jackson.databind.type.IdentityEqualityType:
equalshashCode

Field Detail

_referencedTypeback to summary
protected JavaType _referencedType
serialVersionUIDback to summary
private static final long serialVersionUID

Hides tools.jackson.databind.type.IdentityEqualityType.serialVersionUID.

Constructor Detail

ResolvedRecursiveTypeback to summary
public ResolvedRecursiveType(Class<?> erasedType, TypeBindings bindings)

Method Detail

getBindingsback to summary
public TypeBindings getBindings()

Overrides tools.jackson.databind.type.TypeBase.getBindings.

Annotations
@Override
getErasedSignatureback to summary
public StringBuilder getErasedSignature(StringBuilder sb)

Implements abstract tools.jackson.databind.type.TypeBase.getErasedSignature.

Doc from tools.jackson.databind.JavaType.getErasedSignature.

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.

Annotations
@Override
getGenericSignatureback to summary
public StringBuilder getGenericSignature(StringBuilder sb)

Implements abstract tools.jackson.databind.type.TypeBase.getGenericSignature.

Annotations
@Override
getSelfReferencedTypeback to summary
public JavaType getSelfReferencedType()
getSuperClassback to summary
public JavaType getSuperClass()

Overrides tools.jackson.databind.type.TypeBase.getSuperClass.

Doc from tools.jackson.databind.JavaType.getSuperClass.

Accessor for finding fully resolved parent class of this type, if it has one; null if not.

Annotations
@Override
isContainerTypeback to summary
public boolean isContainerType()

Implements abstract tools.jackson.databind.JavaType.isContainerType.

Annotations
@Override
refineback to summary
public JavaType refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)

Implements abstract tools.jackson.databind.JavaType.refine.

Doc from tools.jackson.databind.JavaType.refine.

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.

Annotations
@Override
setReferenceback to summary
public void setReference(JavaType ref)
toStringback to summary
public String toString()

Implements abstract tools.jackson.databind.JavaType.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
withContentTypeback to summary
public JavaType withContentType(JavaType contentType)

Implements abstract tools.jackson.databind.JavaType.withContentType.

Doc from tools.jackson.databind.JavaType.withContentType.

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, this is returned. If type does not have a content type (which is the case with SimpleType), IllegalArgumentException will be thrown.

Annotations
@Override
withContentTypeHandlerback to summary
public JavaType withContentTypeHandler(Object h)

Implements abstract tools.jackson.databind.JavaType.withContentTypeHandler.

Doc from tools.jackson.databind.JavaType.withContentTypeHandler.

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.

Annotations
@Override
withContentValueHandlerback to summary
public JavaType withContentValueHandler(Object h)

Implements abstract tools.jackson.databind.JavaType.withContentValueHandler.

Doc from tools.jackson.databind.JavaType.withContentValueHandler.

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.

Annotations
@Override
withStaticTypingback to summary
public JavaType withStaticTyping()

Implements abstract tools.jackson.databind.JavaType.withStaticTyping.

Doc from tools.jackson.databind.JavaType.withStaticTyping.

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).

Annotations
@Override
withTypeHandlerback to summary
public JavaType withTypeHandler(Object h)

Implements abstract tools.jackson.databind.JavaType.withTypeHandler.

Doc from tools.jackson.databind.JavaType.withTypeHandler.

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.

Annotations
@Override
withValueHandlerback to summary
public JavaType withValueHandler(Object h)

Implements abstract tools.jackson.databind.JavaType.withValueHandler.

Doc from tools.jackson.databind.JavaType.withValueHandler.

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.

Annotations
@Override