public class ClassInfo extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ClassInfo.ClassInfoAction |
Modifier and Type | Field and Description |
---|---|
int |
hash |
Modifier and Type | Method and Description |
---|---|
static void |
clearModifiedExpandos() |
static int |
fullSize() |
static Collection<ClassInfo> |
getAllClassInfo() |
ClassLoaderForClassArtifacts |
getArtifactClassLoader() |
CachedClass |
getCachedClass() |
static ClassInfo |
getClassInfo(Class cls) |
MetaClass |
getMetaClass() |
MetaClass |
getMetaClass(Object obj) |
MetaClass |
getMetaClassForClass() |
ExpandoMetaClass |
getModifiedExpando() |
MetaClass |
getPerInstanceMetaClass(Object obj) |
MetaClass |
getStrongMetaClass() |
int |
getVersion() |
MetaClass |
getWeakMetaClass() |
boolean |
hasPerInstanceMetaClasses() |
void |
incVersion() |
void |
lock() |
static void |
onAllClassInfo(ClassInfo.ClassInfoAction action) |
void |
setPerInstanceMetaClass(Object obj,
MetaClass metaClass) |
void |
setStrongMetaClass(MetaClass answer) |
void |
setWeakMetaClass(MetaClass answer) |
static int |
size() |
void |
unlock() |
public int getVersion()
public void incVersion()
public ExpandoMetaClass getModifiedExpando()
public static void clearModifiedExpandos()
public CachedClass getCachedClass()
public ClassLoaderForClassArtifacts getArtifactClassLoader()
public static Collection<ClassInfo> getAllClassInfo()
public static void onAllClassInfo(ClassInfo.ClassInfoAction action)
public MetaClass getStrongMetaClass()
public void setStrongMetaClass(MetaClass answer)
public MetaClass getWeakMetaClass()
public void setWeakMetaClass(MetaClass answer)
public MetaClass getMetaClassForClass()
public final MetaClass getMetaClass()
public static int size()
public static int fullSize()
public void lock()
public void unlock()
public boolean hasPerInstanceMetaClasses()