Class ClassInfo

java.lang.Object
org.codehaus.groovy.reflection.ClassInfo
All Implemented Interfaces:
Finalizable

public class ClassInfo
extends Object
implements Finalizable
Handle for all information we want to keep about the class

This class handles caching internally and its advisable to not store references directly to objects of this class. The static factory method getClassInfo(Class) should be used to retrieve an instance from the cache. Internally the Class associated with a ClassInfo instance is kept as WeakReference, so it not safe to reference and instance without the Class being either strongly or softly reachable.