Groovy 2.2.0

org.codehaus.groovy.reflection
[Java] Class ClassInfo

java.lang.Object
  org.codehaus.groovy.util.ManagedReference
      org.codehaus.groovy.util.ManagedConcurrentMap$Entry
          org.codehaus.groovy.reflection.ClassInfo

public class ClassInfo
extends org.codehaus.groovy.util.ManagedConcurrentMap$Entry

Handle for all information we want to keep about the class

Authors:
Alex.Tkachman


Nested Class Summary
static class ClassInfo.ClassInfoSet

 
Field Summary
int hash

 
Method Summary
static void clearModifiedExpandos()

void finalizeRef()

static int fullSize()

static Collection 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()

void setPerInstanceMetaClass(Object obj, MetaClass metaClass)

void setStrongMetaClass(MetaClass answer)

void setWeakMetaClass(MetaClass answer)

static int size()

void unlock()

 
Methods inherited from class org.codehaus.groovy.util.ManagedConcurrentMap$Entry
org.codehaus.groovy.util.ManagedConcurrentMap$Entry#finalizeRef(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#getHash(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#getValue(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#isValid(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#setValue(java.lang.Object), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#isEqual(java.lang.Object, int), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#finalizeReference(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#get(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#clear(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#wait(long, int), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#wait(long), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#wait(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#equals(java.lang.Object), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#toString(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#hashCode(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#getClass(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#notify(), org.codehaus.groovy.util.ManagedConcurrentMap$Entry#notifyAll()
 
Methods inherited from class ManagedReference
finalizeReference, get, clear, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

hash

public final int hash


 
Method Detail

clearModifiedExpandos

public static void clearModifiedExpandos()


finalizeRef

public void finalizeRef()


fullSize

public static int fullSize()


getAllClassInfo

public static Collection getAllClassInfo()


getArtifactClassLoader

public ClassLoaderForClassArtifacts getArtifactClassLoader()


getCachedClass

public CachedClass getCachedClass()


getClassInfo

public static ClassInfo getClassInfo(Class cls)


getMetaClass

public final MetaClass getMetaClass()


getMetaClass

public MetaClass getMetaClass(Object obj)


getMetaClassForClass

public MetaClass getMetaClassForClass()


getModifiedExpando

public ExpandoMetaClass getModifiedExpando()


getPerInstanceMetaClass

public MetaClass getPerInstanceMetaClass(Object obj)


getStrongMetaClass

public MetaClass getStrongMetaClass()


getVersion

public int getVersion()


getWeakMetaClass

public MetaClass getWeakMetaClass()


hasPerInstanceMetaClasses

public boolean hasPerInstanceMetaClasses()


incVersion

public void incVersion()


lock

public void lock()


setPerInstanceMetaClass

public void setPerInstanceMetaClass(Object obj, MetaClass metaClass)


setStrongMetaClass

public void setStrongMetaClass(MetaClass answer)


setWeakMetaClass

public void setWeakMetaClass(MetaClass answer)


size

public static int size()


unlock

public void unlock()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.