Package com.fasterxml.jackson.jr.type
Class TypeBindings
java.lang.Object
com.fasterxml.jackson.jr.type.TypeBindings
- All Implemented Interfaces:
Serializable
Helper class used for storing binding of local type variables to
matching resolved types, in context of a single class.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeBindingscreate(Class<?> erasedType, ResolvedType[] types) static TypeBindingscreate(Class<?> erasedType, List<ResolvedType> typeList) static TypeBindingsbooleanfindBoundType(String name) getBoundName(int index) getBoundType(int index) inthashCode()booleanhasUnbound(String name) booleanisEmpty()intsize()toString()protected ResolvedType[]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.
-
Method Details
-
emptyBindings
-
create
-
create
-
withUnboundVariable
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. -
findBoundType
-
isEmpty
public boolean isEmpty() -
size
public int size() -
getBoundName
-
getBoundType
-
getTypeParameters
-
hasUnbound
- Since:
- 2.3
-
toString
-
hashCode
public int hashCode() -
equals
-
typeParameterArray
-