Class MetaMethodIndex
java.lang.Object
org.codehaus.groovy.runtime.metaclass.MetaMethodIndex
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetaMethod(MetaMethod method, Map<String, MetaMethodIndex.Cache> map) addMethodToList(Object o, MetaMethod toIndex) voidvoidclearCaches(String name) voidvoidvoidcopyNonPrivateNonNewMetaMethods(Map<String, MetaMethodIndex.Cache> from, Map<String, MetaMethodIndex.Cache> to) final MetaMethodIndex.CachegetMethods(Class<?> cls, String name)  
- 
Field Details
- 
indexMap
a map of the starter class plus its super classes to save method lists for static/normal/super method calls. It also provides a simple cache of one method name and call signature to method per static/normal/super call. - 
mainClass
 
 - 
 - 
Constructor Details
- 
MetaMethodIndex
 
 - 
 - 
Method Details
- 
getMethods
 - 
addMetaMethod
 - 
getHeader
 - 
copyNonPrivateMethods
public void copyNonPrivateMethods(Map<String, MetaMethodIndex.Cache> from, Map<String, MetaMethodIndex.Cache> to)  - 
copyNonPrivateNonNewMetaMethods
public void copyNonPrivateNonNewMetaMethods(Map<String, MetaMethodIndex.Cache> from, Map<String, MetaMethodIndex.Cache> to)  - 
addMethodToList
 - 
copyMethodsToSuper
public void copyMethodsToSuper() - 
clearCaches
public void clearCaches() - 
clearCaches
 
 -