Package com.fasterxml.jackson.jr.type
Class ResolvedType
java.lang.Object
com.fasterxml.jackson.jr.type.ResolvedType
- All Implemented Interfaces:
Serializable,Type
- Direct Known Subclasses:
RecursiveType
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final TypeBindingsprotected final ResolvedTypeprotected final Class<?>protected final ResolvedType[]protected final intprotected final ResolvedTypestatic final ResolvedType[]protected static final intprotected static final intprotected static final intprotected static final intprotected static final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedResolvedType(Class<?> cls) protectedResolvedType(Class<?> cls, ResolvedType sup, TypeBindings bindings, ResolvedType[] ifaces) protectedResolvedType(Class<?> cls, TypeBindings bindings) protectedResolvedType(Class<?> cls, TypeBindings bindings, ResolvedType elemType) protectedResolvedType(Class<?> cls, TypeBindings bindings, ResolvedType[] ifaces) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilderbooleanClass<?>findSupertype(Class<?> erasedSupertype) Method for finding super type of this type that has specified type erased signature.getDesc()inthashCode()final List<ResolvedType>booleanisArray()toString()typeParametersFor(Class<?> erasedSupertype) Method that will try to find type parameterization this type has for specified super typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.reflect.Type
getTypeName
-
Field Details
-
NO_TYPES
-
T_ARRAY
protected static final int T_ARRAY- See Also:
-
T_INTERFACE
protected static final int T_INTERFACE- See Also:
-
T_PRIMITIVE
protected static final int T_PRIMITIVE- See Also:
-
T_RECURSIVE
protected static final int T_RECURSIVE- See Also:
-
T_REGULAR
protected static final int T_REGULAR- See Also:
-
_kind
protected final int _kind -
_erasedType
-
_bindings
-
_interfaces
-
_elemType
-
_super
-
-
Constructor Details
-
ResolvedType
-
ResolvedType
-
ResolvedType
-
ResolvedType
-
ResolvedType
protected ResolvedType(Class<?> cls, ResolvedType sup, TypeBindings bindings, ResolvedType[] ifaces)
-
-
Method Details
-
erasedType
-
elementType
-
parentType
-
isArray
public boolean isArray() -
implInterfaces
-
typeParams
-
typeBindings
-
typeParametersFor
Method that will try to find type parameterization this type has for specified super type- Returns:
- List of type parameters for specified supertype (which may be empty, if supertype is not a parametric type); null if specified type is not a super type of this type
-
findSupertype
Method for finding super type of this type that has specified type erased signature. If supertype is an interface which is implemented using multiple inheritance paths, preference is given to interfaces implemented "highest up the stack" (directly implemented interfaces over interfaces superclass implements). -
getDesc
-
appendDesc
-
toString
-
hashCode
public int hashCode() -
equals
-
_appendClassDesc
-