Uses of Class
com.fasterxml.classmate.TypeBindings
-
Packages that use TypeBindings Package Description com.fasterxml.classmate Package that contains main public interface of ClassMate package.com.fasterxml.classmate.types Package that containsResolvedType
implementation classes. -
-
Uses of TypeBindings in com.fasterxml.classmate
Fields in com.fasterxml.classmate declared as TypeBindings Modifier and Type Field Description protected TypeBindings
ResolvedType. _typeBindings
Type bindings active when resolving members (methods, fields, constructors) of this typeprivate static TypeBindings
TypeBindings. EMPTY
Methods in com.fasterxml.classmate that return TypeBindings Modifier and Type Method Description static TypeBindings
TypeBindings. create(java.lang.Class<?> erasedType, ResolvedType[] types)
static TypeBindings
TypeBindings. create(java.lang.Class<?> erasedType, java.util.List<ResolvedType> typeList)
Factory method for constructing bindings for given class using specified type parameters.static TypeBindings
TypeBindings. emptyBindings()
TypeBindings
ResolvedType. getTypeBindings()
Method for accessing bindings of type variables to resolved types in context of this type.TypeBindings
TypeBindings. withUnboundVariable(java.lang.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 TypeBindings Modifier and Type Method Description private ResolvedType
TypeResolver. _constructType(ClassStack context, java.lang.Class<?> rawType, TypeBindings typeBindings)
private ResolvedType
TypeResolver. _fromAny(ClassStack context, java.lang.reflect.Type mainType, TypeBindings typeBindings)
private ResolvedType
TypeResolver. _fromArrayType(ClassStack context, java.lang.reflect.GenericArrayType arrayType, TypeBindings typeBindings)
private ResolvedType
TypeResolver. _fromClass(ClassStack context, java.lang.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, java.lang.reflect.ParameterizedType ptype, TypeBindings parentBindings)
private ResolvedType
TypeResolver. _fromVariable(ClassStack context, java.lang.reflect.TypeVariable<?> variable, TypeBindings typeBindings)
private ResolvedType
TypeResolver. _fromWildcard(ClassStack context, java.lang.reflect.WildcardType wildType, TypeBindings typeBindings)
private ResolvedType
TypeResolver. _resolveSuperClass(ClassStack context, java.lang.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, java.lang.Class<?> rawType, TypeBindings typeBindings)
ResolvedType
TypeResolver. resolve(TypeBindings typeBindings, java.lang.reflect.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 Constructor Description ResolvedType(java.lang.Class<?> cls, TypeBindings bindings)
-
Uses of TypeBindings in com.fasterxml.classmate.types
Methods in com.fasterxml.classmate.types with parameters of type TypeBindings Modifier and Type Method Description static ResolvedObjectType
ResolvedObjectType. create(java.lang.Class<?> erased, TypeBindings bindings, ResolvedType superClass, java.util.List<ResolvedType> interfaces)
Constructors in com.fasterxml.classmate.types with parameters of type TypeBindings Constructor Description ResolvedArrayType(java.lang.Class<?> erased, TypeBindings bindings, ResolvedType elementType)
ResolvedInterfaceType(java.lang.Class<?> erased, TypeBindings bindings, ResolvedType[] superInterfaces)
ResolvedObjectType(java.lang.Class<?> erased, TypeBindings bindings, ResolvedType superClass, ResolvedType[] interfaces)
ResolvedObjectType(java.lang.Class<?> erased, TypeBindings bindings, ResolvedType superClass, java.util.List<ResolvedType> interfaces)
ResolvedObjectType(java.lang.Class<?> erased, TypeBindings bindings, ResolvedObjectType superClass, ResolvedType[] interfaces)
Deprecated.ResolvedObjectType(java.lang.Class<?> erased, TypeBindings bindings, ResolvedObjectType superClass, java.util.List<ResolvedType> interfaces)
Deprecated.ResolvedRecursiveType(java.lang.Class<?> erased, TypeBindings bindings)
-