Package com.gengoai.reflection
Class ClassDescriptorCache
- java.lang.Object
-
- com.gengoai.reflection.ClassDescriptorCache
-
- All Implemented Interfaces:
Serializable
public class ClassDescriptorCache extends Object implements Serializable
A cache of
ClassDescriptor
to speed up performance.- Author:
- David B. Bracewell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassDescriptorCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassDescriptor
getClassDescriptor(Class<?> clazz)
Gets class descriptor.static ClassDescriptorCache
getInstance()
Gets instance.
-
-
-
Method Detail
-
getInstance
public static ClassDescriptorCache getInstance()
Gets instance.- Returns:
- the instance
-
getClassDescriptor
public ClassDescriptor getClassDescriptor(Class<?> clazz)
Gets class descriptor.- Parameters:
clazz
- the clazz- Returns:
- the class descriptor
-
-