Class TypeBindings.TypeParamStash
java.lang.Object
tools.jackson.databind.type.TypeBindings.TypeParamStash
- Enclosing class:
TypeBindings
Helper class that contains simple logic for avoiding repeated lookups via
Class.getTypeParameters() as that can be a performance issue for
some use cases (wasteful, usually one-off or not reusing mapper).
Partly isolated to avoid initialization for cases where no generic types are
used.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TypeVariable<?>[]private static final TypeVariable<?>[]private static final TypeVariable<?>[]private static final TypeVariable<?>[]private static final TypeVariable<?>[]private static final TypeVariable<?>[]private static final TypeVariable<?>[]private static final TypeVariable<?>[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeVariable<?>[]paramsFor1(Class<?> erasedType) static TypeVariable<?>[]paramsFor2(Class<?> erasedType)
-
Field Details
-
VARS_ABSTRACT_LIST
-
VARS_COLLECTION
-
VARS_ITERABLE
-
VARS_LIST
-
VARS_ARRAY_LIST
-
VARS_MAP
-
VARS_HASH_MAP
-
VARS_LINKED_HASH_MAP
-
-
Constructor Details
-
TypeParamStash
TypeParamStash()
-
-
Method Details
-
paramsFor1
-
paramsFor2
-