ArrayMetaMethod (Groovy 4.0.10)
Description: declaration: package: org.codehaus.groovy.runtime.dgmimpl.arrays, class: ArrayMetaMethod

Package org.codehaus.groovy.runtime.dgmimpl.arrays

# 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 final CachedClass`
  `INTEGER_CLASS`
  `protected static final 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

  Modifier and Type
  Method
  Description
  `int`
  `getModifiers()`
  Returns the modifiers for this method
  `protected 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, isDefault, 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`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### INTEGER_CLASS

    protected static final CachedClass INTEGER_CLASS

  - ### INTEGER_CLASS_ARR

    protected static final CachedClass[] 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: `MetaMethod`
    Returns the modifiers for this method
    Specified by:
      `getModifiers` in class `MetaMethod`
    Returns:
      modifiers as an int.