Uses of Class
com.fasterxml.classmate.TypeBindings
Packages that use TypeBindings
Package
Description
Package that contains main public interface of ClassMate
package.
Package that contains
ResolvedType
implementation classes.-
Uses of TypeBindings in com.fasterxml.classmate
Fields in com.fasterxml.classmate declared as TypeBindingsModifier and TypeFieldDescriptionprotected final TypeBindings
ResolvedType._typeBindings
Type bindings active when resolving members (methods, fields, constructors) of this typeprivate static final TypeBindings
TypeBindings.EMPTY
Methods in com.fasterxml.classmate that return TypeBindingsModifier and TypeMethodDescriptionstatic TypeBindings
TypeBindings.create
(Class<?> erasedType, ResolvedType[] types) static TypeBindings
TypeBindings.create
(Class<?> erasedType, List<ResolvedType> typeList) Factory method for constructing bindings for given class using specified type parameters.static TypeBindings
TypeBindings.emptyBindings()
ResolvedType.getTypeBindings()
Method for accessing bindings of type variables to resolved types in context of this type.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 com.fasterxml.classmate with parameters of type TypeBindingsModifier and TypeMethodDescriptionprivate ResolvedType
TypeResolver._constructType
(ClassStack context, Class<?> rawType, TypeBindings typeBindings) private ResolvedType
TypeResolver._fromAny
(ClassStack context, Type mainType, TypeBindings typeBindings) private ResolvedType
TypeResolver._fromArrayType
(ClassStack context, GenericArrayType arrayType, TypeBindings typeBindings) private ResolvedType
TypeResolver._fromClass
(ClassStack context, Class<?> rawType, TypeBindings typeBindings) private ResolvedType
TypeResolver._fromGenericType
(ClassStack context, GenericType<?> generic, TypeBindings typeBindings) Factory method for resolving given generic type, defined by using sub-class instance ofGenericType
private ResolvedType
TypeResolver._fromParamType
(ClassStack context, ParameterizedType ptype, TypeBindings parentBindings) private ResolvedType
TypeResolver._fromVariable
(ClassStack context, TypeVariable<?> variable, TypeBindings typeBindings) private ResolvedType
TypeResolver._fromWildcard
(ClassStack context, WildcardType wildType, TypeBindings typeBindings) private ResolvedType
TypeResolver._resolveSuperClass
(ClassStack context, Class<?> rawType, TypeBindings typeBindings) NOTE: return type changed in 1.0.1 fromResolvedObjectType
toResolvedType
, since it was found that other types may be returned...private ResolvedType[]
TypeResolver._resolveSuperInterfaces
(ClassStack context, Class<?> rawType, TypeBindings typeBindings) TypeResolver.resolve
(TypeBindings typeBindings, Type jdkType) Factory method for resolving specified JavaType
, givenTypeBindings
needed to resolve any type variables.Constructors in com.fasterxml.classmate with parameters of type TypeBindings -
Uses of TypeBindings in com.fasterxml.classmate.types
Methods in com.fasterxml.classmate.types with parameters of type TypeBindingsModifier and TypeMethodDescriptionstatic ResolvedObjectType
ResolvedObjectType.create
(Class<?> erased, TypeBindings bindings, ResolvedType superClass, List<ResolvedType> interfaces) Constructors in com.fasterxml.classmate.types with parameters of type TypeBindingsModifierConstructorDescriptionResolvedArrayType
(Class<?> erased, TypeBindings bindings, ResolvedType elementType) ResolvedInterfaceType
(Class<?> erased, TypeBindings bindings, ResolvedType[] superInterfaces) ResolvedObjectType
(Class<?> erased, TypeBindings bindings, ResolvedType superClass, ResolvedType[] interfaces) ResolvedObjectType
(Class<?> erased, TypeBindings bindings, ResolvedType superClass, List<ResolvedType> interfaces) ResolvedObjectType
(Class<?> erased, TypeBindings bindings, ResolvedObjectType superClass, ResolvedType[] interfaces) Deprecated.ResolvedObjectType
(Class<?> erased, TypeBindings bindings, ResolvedObjectType superClass, List<ResolvedType> interfaces) Deprecated.ResolvedRecursiveType
(Class<?> erased, TypeBindings bindings)