## Uses of Class
com.fasterxml.jackson.databind.type.ClassStack

- Packages that use ClassStack
  Package | Description
  --- | ---
  com.fasterxml.jackson.databind.type | Package that contains concrete implementations of `JavaType`, as well as the factory (`TypeFactory`) for constructing instances from various input data types (like `Class`, `Type`) and programmatically (for structured types, arrays, `List`s and `Map`s).

- - ### Uses of ClassStack in com.fasterxml.jackson.databind.type

    Fields in com.fasterxml.jackson.databind.type declared as ClassStack
    Modifier and Type | Field and Description
    --- | ---
    `protected ClassStack` | ClassStack.`_parent`

    Methods in com.fasterxml.jackson.databind.type that return ClassStack
    Modifier and Type | Method and Description
    --- | ---
    `ClassStack` | ClassStack.`child(Class<?> cls)`
    `ClassStack` | ClassStack.`find(Class<?> cls)`

    Methods in com.fasterxml.jackson.databind.type with parameters of type ClassStack
    Modifier and Type | Method and Description
    --- | ---
    `protected JavaType` | TypeFactory.`_fromAny(ClassStack context, Type type, TypeBindings bindings)` Factory method that can be used if type information is passed as Java typing returned from `getGenericXxx` methods (usually for a return or argument type).
    `protected JavaType` | TypeFactory.`_fromArrayType(ClassStack context, GenericArrayType type, TypeBindings bindings)`
    `protected JavaType` | TypeFactory.`_fromClass(ClassStack context, Class<?> rawType, TypeBindings bindings)`
    `protected JavaType` | TypeFactory.`_fromParamType(ClassStack context, ParameterizedType ptype, TypeBindings parentBindings)` This method deals with parameterized types, that is, first class generic classes.
    `protected JavaType` | TypeFactory.`_fromVariable(ClassStack context, TypeVariable<?> var, TypeBindings bindings)`
    `protected JavaType` | TypeFactory.`_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 alternate `JavaType` implementation.
    `protected JavaType` | TypeFactory.`_fromWellKnownInterface(ClassStack context, Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)`
    `protected JavaType` | TypeFactory.`_fromWildcard(ClassStack context, WildcardType type, TypeBindings bindings)`
    `protected JavaType` | TypeFactory.`_resolveSuperClass(ClassStack context, Class<?> rawType, TypeBindings parentBindings)`
    `protected JavaType[]` | TypeFactory.`_resolveSuperInterfaces(ClassStack context, Class<?> rawType, TypeBindings parentBindings)`

Copyright © 2008–2020 FasterXML. All rights reserved.