public class ShortArrayGetAtMetaMethod extends ArrayGetAtMetaMethod
INTEGER_CLASS, INTEGER_CLASS_ARR
isVargsMethod, nativeParamTypes, parameterTypes
Constructor and Description |
---|
ShortArrayGetAtMetaMethod() |
Modifier and Type | Method and Description |
---|---|
CallSite |
createPojoCallSite(CallSite site,
MetaClassImpl metaClass,
MetaMethod metaMethod,
Class[] params,
Object receiver,
Object[] args) |
CachedClass |
getDeclaringClass()
Gets the class where this method is declared
|
Class |
getReturnType()
Access the return type for this method
|
Object |
invoke(Object object,
Object[] args)
Invoke this method
|
getName
getModifiers, normaliseIndex
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
public Class getReturnType()
MetaMethod
getReturnType
in class MetaMethod
public final CachedClass getDeclaringClass()
MetaMethod
getDeclaringClass
in class MetaMethod
public Object invoke(Object object, Object[] args)
MetaMethod
invoke
in class MetaMethod
object
- The object this method should be involded onargs
- The arguments for the menthod if applicablepublic CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params, Object receiver, Object[] args)
createPojoCallSite
in class CallSiteAwareMetaMethod