Class MetaMethodIndex
java.lang.Object
org.codehaus.groovy.runtime.metaclass.MetaMethodIndex
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
indexMapa 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
- 
copyNonPrivateMethodspublic void copyNonPrivateMethods(Map<String, MetaMethodIndex.Cache> from, Map<String, MetaMethodIndex.Cache> to) 
- 
copyNonPrivateNonNewMetaMethodspublic void copyNonPrivateNonNewMetaMethods(Map<String, MetaMethodIndex.Cache> from, Map<String, MetaMethodIndex.Cache> to) 
- 
addMethodToList
- 
copyMethodsToSuperpublic void copyMethodsToSuper()
- 
clearCachespublic void clearCaches()
- 
clearCaches
 
-