Package org.codehaus.groovy.reflection
Class MixinInMetaClass
java.lang.Object
org.codehaus.groovy.util.AbstractConcurrentMapBase
org.codehaus.groovy.util.AbstractConcurrentMap<K,V>
org.codehaus.groovy.util.ManagedConcurrentMap
org.codehaus.groovy.reflection.MixinInMetaClass
public class MixinInMetaClass extends ManagedConcurrentMap
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.groovy.util.ManagedConcurrentMap
ManagedConcurrentMap.Entry<K,V>, ManagedConcurrentMap.EntryWithValue<K,V>, ManagedConcurrentMap.Segment<K,V> -
Field Summary
Fields inherited from class org.codehaus.groovy.util.ManagedConcurrentMap
bundleFields inherited from class org.codehaus.groovy.util.AbstractConcurrentMapBase
MAXIMUM_CAPACITY, segments -
Constructor Summary
Constructors Constructor Description MixinInMetaClass(ExpandoMetaClass emc, CachedClass mixinClass) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)CachedClassgetInstanceClass()CachedClassgetMixinClass()java.lang.ObjectgetMixinInstance(java.lang.Object object)inthashCode()static voidmixinClassesToMetaClass(MetaClass self, java.util.List<java.lang.Class> categoryClasses)voidsetMixinInstance(java.lang.Object object, java.lang.Object mixinInstance)Methods inherited from class org.codehaus.groovy.util.ManagedConcurrentMap
createSegmentMethods inherited from class org.codehaus.groovy.util.AbstractConcurrentMap
get, getOrPut, put, remove, segmentForMethods inherited from class org.codehaus.groovy.util.AbstractConcurrentMapBase
fullSize, hash, size, valuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MixinInMetaClass
-
-
Method Details
-
getMixinInstance
public java.lang.Object getMixinInstance(java.lang.Object object) -
setMixinInstance
public void setMixinInstance(java.lang.Object object, java.lang.Object mixinInstance) -
getInstanceClass
-
getMixinClass
-
mixinClassesToMetaClass
public static void mixinClassesToMetaClass(MetaClass self, java.util.List<java.lang.Class> categoryClasses) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-