Uses of Class
com.fasterxml.jackson.databind.type.TypeBindings
-
Packages that use TypeBindings Package Description com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.introspect Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations.com.fasterxml.jackson.databind.type -
-
Uses of TypeBindings in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return TypeBindings Modifier and Type Method Description abstract TypeBindingsBeanDescription. bindingsForBeanType()Deprecated.Since 2.7, should not need to access bindings directlyabstract TypeBindingsJavaType. getBindings()Methods in com.fasterxml.jackson.databind with parameters of type TypeBindings Modifier and Type Method Description abstract 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 com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as TypeBindings Modifier and Type Field Description protected TypeBindingsAnnotatedClass. _bindingsType bindings to use for members ofAnnotatedClass._class.Methods in com.fasterxml.jackson.databind.introspect that return TypeBindings Modifier and Type Method Description TypeBindingsBasicBeanDescription. bindingsForBeanType()Deprecated.Methods in com.fasterxml.jackson.databind.introspect with parameters of type TypeBindings Modifier and Type Method Description JavaTypeAnnotated. getType(TypeBindings bogus)Deprecated.Since 2.7 UseAnnotated.getType()instead.Constructors in com.fasterxml.jackson.databind.introspect with parameters of type TypeBindings Constructor Description Basic(TypeFactory tf, TypeBindings b) -
Uses of TypeBindings in com.fasterxml.jackson.databind.type
Fields in com.fasterxml.jackson.databind.type declared as TypeBindings Modifier and Type Field Description protected TypeBindingsTypeBase. _bindingsBindings in effect for this type instance; possibly empty.protected static TypeBindingsTypeFactory. EMPTY_BINDINGSMethods in com.fasterxml.jackson.databind.type that return TypeBindings Modifier and Type Method Description static TypeBindingsTypeBindings. create(Class<?> erasedType, JavaType typeArg1)static TypeBindingsTypeBindings. create(Class<?> erasedType, JavaType[] types)static TypeBindingsTypeBindings. create(Class<?> erasedType, JavaType typeArg1, JavaType typeArg2)static TypeBindingsTypeBindings. create(Class<?> erasedType, List<JavaType> typeList)Factory method for constructing bindings for given class using specified type parameters.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()TypeBindingsResolvedRecursiveType. getBindings()TypeBindingsTypeBase. getBindings()TypeBindingsTypeBindings. 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 com.fasterxml.jackson.databind.type with parameters of type TypeBindings Modifier and Type Method Description protected 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 type, 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. _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 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)JavaTypeTypeFactory. constructType(Type type, TypeBindings bindings)JavaType[]TypeFactory. findTypeParameters(Class<?> clz, Class<?> expType, TypeBindings bindings)Deprecated.Since 2.7 resolve raw type first, then find type parametersabstract JavaTypeTypeModifier. modifyType(JavaType type, Type jdkType, TypeBindings context, TypeFactory typeFactory)Method called to let modifier change constructed type definition.JavaTypeArrayType. refine(Class<?> contentClass, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)JavaTypeCollectionLikeType. refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)JavaTypeCollectionType. refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)JavaTypeMapLikeType. refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)JavaTypeMapType. refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)JavaTypePlaceholderForType. refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)JavaTypeReferenceType. refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)JavaTypeResolvedRecursiveType. refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)JavaTypeSimpleType. refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)Constructors in com.fasterxml.jackson.databind.type with parameters of type TypeBindings Constructor Description ArrayType(JavaType componentType, TypeBindings bindings, Object emptyInstance, Object valueHandler, Object typeHandler, boolean asStatic)CollectionLikeType(Class<?> collT, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType elemT, Object valueHandler, Object typeHandler, boolean asStatic)MapLikeType(Class<?> mapType, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType keyT, JavaType valueT, Object valueHandler, Object typeHandler, boolean asStatic)ReferenceType(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType refType, JavaType anchorType, Object valueHandler, Object typeHandler, boolean asStatic)ResolvedRecursiveType(Class<?> erasedType, TypeBindings bindings)SimpleType(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts)SimpleType(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts, int extraHash, Object valueHandler, Object typeHandler, boolean asStatic)Pass-through constructor used byReferenceType.SimpleType(Class<?> cls, TypeBindings bindings, JavaType superClass, JavaType[] superInts, Object valueHandler, Object typeHandler, boolean asStatic)TypeBase(Class<?> raw, TypeBindings bindings, JavaType superClass, JavaType[] superInts, int hash, Object valueHandler, Object typeHandler, boolean asStatic)Main constructor to use by extending classes.
-