Class TypeBindings.TypeParamStash

java.lang.Object
tools.jackson.databind.type.TypeBindings.TypeParamStash
Enclosing class:
TypeBindings

static class TypeBindings.TypeParamStash extends Object
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 Details

    • VARS_ABSTRACT_LIST

      private static final TypeVariable<?>[] VARS_ABSTRACT_LIST
    • VARS_COLLECTION

      private static final TypeVariable<?>[] VARS_COLLECTION
    • VARS_ITERABLE

      private static final TypeVariable<?>[] VARS_ITERABLE
    • VARS_LIST

      private static final TypeVariable<?>[] VARS_LIST
    • VARS_ARRAY_LIST

      private static final TypeVariable<?>[] VARS_ARRAY_LIST
    • VARS_MAP

      private static final TypeVariable<?>[] VARS_MAP
    • VARS_HASH_MAP

      private static final TypeVariable<?>[] VARS_HASH_MAP
    • VARS_LINKED_HASH_MAP

      private static final TypeVariable<?>[] VARS_LINKED_HASH_MAP
  • Constructor Details

    • TypeParamStash

      TypeParamStash()
  • Method Details