Uses of Class
tools.jackson.databind.type.TypeBindings
Packages that use TypeBindings
Package
Description
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
-
Uses of TypeBindings in tools.jackson.databind
Methods in tools.jackson.databind that return TypeBindingsMethods in tools.jackson.databind with parameters of type TypeBindingsModifier and TypeMethodDescriptionabstract JavaTypeJavaType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) 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. -
Uses of TypeBindings in tools.jackson.databind.introspect
Fields in tools.jackson.databind.introspect declared as TypeBindingsModifier and TypeFieldDescriptionprotected final TypeBindingsAnnotatedClass._bindingsType bindings to use for members ofAnnotatedClass._class.Constructors in tools.jackson.databind.introspect with parameters of type TypeBindings -
Uses of TypeBindings in tools.jackson.databind.type
Fields in tools.jackson.databind.type declared as TypeBindingsModifier and TypeFieldDescriptionprotected final TypeBindingsTypeBase._bindingsBindings in effect for this type instance; possibly empty.protected static final TypeBindingsTypeFactory.EMPTY_BINDINGSMethods in tools.jackson.databind.type that return TypeBindingsModifier and TypeMethodDescriptionstatic TypeBindingsFactory method for constructing bindings for given class using specified type parameters.static TypeBindingsstatic TypeBindingsstatic TypeBindingsstatic TypeBindingsFactory method for constructing bindings given names and associated types.static TypeBindingsTypeBindings.createIfNeeded(Class<?> erasedType, JavaType typeArg1) Alternate factory method that may be called if it is possible that type does or does not require type parameters; this is mostly useful for collection- and map-like types.static TypeBindingsTypeBindings.createIfNeeded(Class<?> erasedType, JavaType[] types) Alternate factory method that may be called if it is possible that type does or does not require type parameters; this is mostly useful for collection- and map-like types.static TypeBindingsTypeBindings.emptyBindings()ResolvedRecursiveType.getBindings()TypeBase.getBindings()TypeBindings.withoutVariable(String name) Create a new instance with the same bindings as this object, except with the given variable removed.TypeBindings.withUnboundVariable(String name) Method for creating an instance that has same bindings as this object, plus an indicator for additional type variable that may be unbound within this context; this is needed to resolve recursive self-references.Methods in tools.jackson.databind.type with parameters of type TypeBindingsModifier and TypeMethodDescriptionprotected JavaTypeTypeFactory._constructSimple(Class<?> raw, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) Factory method to call when no specialJavaTypeis needed, no generic parameters are passed.protected JavaTypeTypeFactory._fromAny(ClassStack context, Type srcType, TypeBindings bindings) Factory method that can be used if type information is passed as Java typing returned fromgetGenericXxxmethods (usually for a return or argument type).protected JavaTypeTypeFactory._fromArrayType(ClassStack context, GenericArrayType type, TypeBindings bindings) protected JavaTypeTypeFactory._fromClass(ClassStack context, Class<?> rawType, TypeBindings bindings) protected JavaTypeTypeFactory._fromParamType(ClassStack context, ParameterizedType ptype, TypeBindings parentBindings) This method deals with parameterized types, that is, first class generic classes.protected JavaTypeTypeFactory._fromVariable(ClassStack context, TypeVariable<?> var, TypeBindings bindings) protected JavaTypeTypeFactory._fromWellKnownClass(ClassStack context, Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) Helper class used to check whether exact class for which type is being constructed is one of well-known base interfaces or classes that indicates alternateJavaTypeimplementation.protected JavaTypeTypeFactory._fromWellKnownInterface(ClassStack context, Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) protected JavaTypeTypeFactory._fromWildcard(ClassStack context, WildcardType type, TypeBindings bindings) protected JavaTypeTypeFactory._newSimpleType(Class<?> raw, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) Factory method that is to create a newSimpleTypewith no checks whatsoever.protected JavaTypeTypeFactory._referenceType(Class<?> rawClass, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) protected JavaTypeTypeFactory._resolveSuperClass(ClassStack context, Class<?> rawType, TypeBindings parentBindings) protected JavaType[]TypeFactory._resolveSuperInterfaces(ClassStack context, Class<?> rawType, TypeBindings parentBindings) static ArrayTypeArrayType.construct(JavaType componentType, TypeBindings bindings) static ArrayTypeArrayType.construct(JavaType componentType, TypeBindings bindings, Object valueHandler, Object typeHandler) static CollectionLikeTypeCollectionLikeType.construct(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType elemT) static CollectionTypeCollectionType.construct(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType elemT) static IterationTypeIterationType.construct(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType iteratedType) static MapTypeMapType.construct(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType keyT, JavaType valueT) static ReferenceTypeReferenceType.construct(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType refType) TypeFactory.constructParametricType(Class<?> rawType, TypeBindings parameterTypes) Factory method for constructingJavaTypethat represents a parameterized type.abstract JavaTypeTypeModifier.modifyType(JavaType type, Type jdkType, TypeBindings context, TypeFactory typeFactory) Method called to let modifier change constructed type definition.ArrayType.refine(Class<?> contentClass, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) CollectionLikeType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) CollectionType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) IterationType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) MapLikeType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) MapType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) PlaceholderForType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) ReferenceType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) ResolvedRecursiveType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) SimpleType.refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) TypeFactory.resolveMemberType(Type type, TypeBindings contextBindings) Method to call when resolving types ofMembers like Fields, Methods and Constructor parameters and there is aTypeBindings(that describes binding of type parameters within context) to pass.Constructors in tools.jackson.databind.type with parameters of type TypeBindingsModifierConstructorDescriptionprotectedArrayType(JavaType componentType, TypeBindings bindings, Object emptyInstance, Object valueHandler, Object typeHandler, boolean asStatic) protectedCollectionLikeType(Class<?> collT, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType elemT, Object valueHandler, Object typeHandler, boolean asStatic) protectedIterationType(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType iteratedType, Object valueHandler, Object typeHandler, boolean asStatic) protectedMapLikeType(Class<?> mapType, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType keyT, JavaType valueT, Object valueHandler, Object typeHandler, boolean asStatic) protectedReferenceType(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType refType, JavaType anchorType, Object valueHandler, Object typeHandler, boolean asStatic) ResolvedRecursiveType(Class<?> erasedType, TypeBindings bindings) protectedSimpleType(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts) protectedSimpleType(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts, int extraHash, Object valueHandler, Object typeHandler, boolean asStatic) Pass-through constructor used byReferenceType.protectedSimpleType(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts, Object valueHandler, Object typeHandler, boolean asStatic) protectedTypeBase(Class<?> raw, TypeBindings bindings, JavaType superClass, JavaType[] superInts, int hash, Object valueHandler, Object typeHandler, boolean asStatic) Main constructor to use by extending classes.