Package | Description |
---|---|
com.fasterxml.jackson.databind.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
com.fasterxml.jackson.databind.type | |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Field and Description |
---|---|
protected LRUMap<Class<?>,Boolean> |
JacksonAnnotationIntrospector._annotationsInside
Since introspection of annotation types is a performance issue in some
use cases (rare, but do exist), let's try a simple cache to reduce
need for actual meta-annotation introspection.
|
protected LRUMap<JavaType,BasicBeanDescription> |
BasicClassIntrospector._cachedFCA
Looks like 'forClassAnnotations()' gets called so frequently that we
should consider caching to avoid some of the lookups.
|
Modifier and Type | Field and Description |
---|---|
protected LRUMap<Object,JavaType> |
TypeFactory._typeCache
Since type resolution can be expensive (specifically when resolving
actual generic types), we will use small cache to avoid repetitive
resolution of core types
|
Modifier and Type | Method and Description |
---|---|
TypeFactory |
TypeFactory.withCache(LRUMap<Object,JavaType> cache)
Mutant factory method that will construct new
TypeFactory with
identical settings except for different cache; most likely one with
bigger maximum size. |
Constructor and Description |
---|
TypeFactory(LRUMap<Object,JavaType> typeCache) |
TypeFactory(LRUMap<Object,JavaType> typeCache,
TypeParser p,
TypeModifier[] mods,
ClassLoader classLoader) |
Modifier and Type | Field and Description |
---|---|
protected LRUMap<ClassKey,PropertyName> |
RootNameLookup._rootNames
For efficient operation, let's try to minimize number of times we
need to introspect root element name to use.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.