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:
java.lang.Cloneable
- Direct Known Subclasses:
ArrayGetAtMetaMethod,ArrayPutAtMetaMethod
public abstract class ArrayMetaMethod extends CallSiteAwareMetaMethod
-
Field Summary
Fields Modifier and Type Field Description protected static CachedClassINTEGER_CLASSprotected static CachedClass[]INTEGER_CLASS_ARRFields inherited from class groovy.lang.MetaMethod
EMPTY_ARRAYFields inherited from class org.codehaus.groovy.reflection.ParameterTypes
isVargsMethod, nativeParamTypes, parameterTypes -
Constructor Summary
Constructors Constructor Description ArrayMetaMethod() -
Method Summary
Modifier and Type Method Description intgetModifiers()Returns the modifiers for this methodprotected static intnormaliseIndex(int i, int size)Methods inherited from class org.codehaus.groovy.runtime.callsite.CallSiteAwareMetaMethod
createPojoCallSiteMethods 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, toStringMethods inherited from class org.codehaus.groovy.reflection.ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
INTEGER_CLASS
-
INTEGER_CLASS_ARR
-
-
Constructor Details
-
ArrayMetaMethod
public ArrayMetaMethod()
-
-
Method Details
-
normaliseIndex
protected static int normaliseIndex(int i, int size) -
getModifiers
public int getModifiers()Description copied from class:MetaMethodReturns the modifiers for this method- Specified by:
getModifiersin classMetaMethod- Returns:
- modifiers as an int.
-