public final class IntrospectorCache extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CACHEDUMP_MSG
define a public string so that it can be looked for if interested
|
Constructor and Description |
---|
IntrospectorCache(org.slf4j.Logger log,
TypeConversionHandler conversionHandler)
C'tor
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the internal cache.
|
ClassMap |
get(Class c)
Lookup a given Class object in the cache.
|
ClassFieldMap |
getFieldMap(Class c)
Lookup a given Class object in the cache.
|
ClassMap |
put(Class c)
Creates a class map for specific class and registers it in the
cache.
|
public static final String CACHEDUMP_MSG
public IntrospectorCache(org.slf4j.Logger log, TypeConversionHandler conversionHandler)
log
- logger.conversionHandler
- conversion handlerpublic void clear()
public ClassMap get(Class c)
c
- The class to look up.public ClassFieldMap getFieldMap(Class c)
c
- The class to look up.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.