Class ArrayMetaMethod
- java.lang.Object
-
- org.codehaus.groovy.reflection.ParameterTypes
-
- groovy.lang.MetaMethod
-
- org.codehaus.groovy.runtime.callsite.CallSiteAwareMetaMethod
-
- org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayMetaMethod
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ArrayGetAtMetaMethod
,ArrayPutAtMetaMethod
public abstract class ArrayMetaMethod extends CallSiteAwareMetaMethod
-
-
Field Summary
Fields Modifier and Type Field Description protected static CachedClass
INTEGER_CLASS
protected static CachedClass[]
INTEGER_CLASS_ARR
-
Fields inherited from class groovy.lang.MetaMethod
EMPTY_ARRAY
-
Fields inherited from class org.codehaus.groovy.reflection.ParameterTypes
isVargsMethod, nativeParamTypes, parameterTypes
-
-
Constructor Summary
Constructors Constructor Description ArrayMetaMethod()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getModifiers()
Returns the modifiers for this methodprotected static int
normaliseIndex(int i, int size)
-
Methods inherited from class org.codehaus.groovy.runtime.callsite.CallSiteAwareMetaMethod
createPojoCallSite
-
Methods inherited from class groovy.lang.MetaMethod
checkParameters, clone, doMethodInvoke, equal, equal, getDeclaringClass, getDescriptor, getMopName, getName, getReturnType, getSignature, invoke, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString
-
Methods inherited from class org.codehaus.groovy.reflection.ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
-
-
-
-
Field Detail
-
INTEGER_CLASS
protected static final CachedClass INTEGER_CLASS
-
INTEGER_CLASS_ARR
protected static final CachedClass[] INTEGER_CLASS_ARR
-
-
Method Detail
-
normaliseIndex
protected static int normaliseIndex(int i, int size)
-
getModifiers
public int getModifiers()
Description copied from class:MetaMethod
Returns the modifiers for this method- Specified by:
getModifiers
in classMetaMethod
- Returns:
- modifiers as an int.
-
-