public class CachingIntrospector extends java.lang.Object implements ClassIntrospector
introspector that caches all class descriptors.
 It can examine either accessible or supported fields/methods/constructors.
 It simply caches all class descriptors.
ClassIntrospector.Implementation| Modifier and Type | Field and Description | 
|---|---|
protected TypeCache<ClassDescriptor> | 
cache  | 
protected boolean | 
enhancedProperties  | 
protected boolean | 
includeFieldsAsProperties  | 
protected java.lang.String[] | 
propertyFieldPrefix  | 
protected boolean | 
scanAccessible  | 
| Constructor and Description | 
|---|
CachingIntrospector()
Default constructor. 
 | 
CachingIntrospector(boolean scanAccessible,
                   boolean enhancedProperties,
                   boolean includeFieldsAsProperties,
                   java.lang.String[] propertyFieldPrefix)
Creates new caching  
ClassIntrospector. | 
| Modifier and Type | Method and Description | 
|---|---|
ClassDescriptor | 
lookup(java.lang.Class type)
Returns class descriptor for specified type. 
 | 
void | 
reset()
Clears all cached data. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetprotected final TypeCache<ClassDescriptor> cache
protected final boolean scanAccessible
protected final boolean enhancedProperties
protected final boolean includeFieldsAsProperties
protected final java.lang.String[] propertyFieldPrefix
public CachingIntrospector()
public CachingIntrospector(boolean scanAccessible,
                           boolean enhancedProperties,
                           boolean includeFieldsAsProperties,
                           java.lang.String[] propertyFieldPrefix)
ClassIntrospector. It may scan
 accessible or supported fields, methods or
 constructors.public ClassDescriptor lookup(java.lang.Class type)
lookup in interface ClassIntrospectorpublic void reset()
reset in interface ClassIntrospectorCopyright © 2003-present Jodd Team