Class MetaMethodIndex.MetaMethodCache
java.lang.Object
org.codehaus.groovy.runtime.metaclass.MetaMethodIndex.MetaMethodCache
- Enclosing class:
- MetaMethodIndex
A cache entry for a metamethod with its parameter types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MetaMethodThe cached metamethodfinal Class<?>[]The parameter types used for this cached method -
Constructor Summary
ConstructorsConstructorDescriptionMetaMethodCache(Class<?>[] params, MetaMethod method) Creates a new method entry. -
Method Summary
-
Field Details
-
params
The parameter types used for this cached method -
method
The cached metamethod
-
-
Constructor Details
-
MetaMethodCache
Creates a new method entry.- Parameters:
params- in case of caching params might not be the same asParameterTypes.getParameterTypes()method- the meta method
-