Top Inners Fields Constructors Methods
org.codehaus.groovy.runtime.dgmimpl.arrays

public Class CharacterArrayGetAtMetaMethod

extends ArrayGetAtMetaMethod
Class Inheritance
Imports
groovy.lang.MetaClassImpl, .MetaMethod, org.codehaus.groovy.reflection.CachedClass, .ReflectionCache, org.codehaus.groovy.runtime.callsite.CallSite, .PojoMetaMethodSite

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final CachedClass

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public CallSite
public final CachedClass
getDeclaringClass()

Implements abstract groovy.lang.MetaMethod.getDeclaringClass.

Gets the class where this method is declared
public Class<T>
getReturnType()

Implements abstract groovy.lang.MetaMethod.getReturnType.

Access the return type for this method
public Object
invoke(Object
The object this method should be invoked on
object
,
Object[]
The arguments for the method if applicable
args
)

Implements abstract groovy.lang.MetaMethod.invoke.

Invoke this method
Inherited from org.codehaus.groovy.runtime.dgmimpl.arrays.ArrayGetAtMetaMethod:
getName

Field Detail

ARR_CLASSback to summary
private static final CachedClass ARR_CLASS

Constructor Detail

CharacterArrayGetAtMetaMethodback to summary
public CharacterArrayGetAtMetaMethod()

Method Detail

createPojoCallSiteback to summary
public CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class<T>[] params, Object receiver, Object[] args)

Implements abstract org.codehaus.groovy.runtime.callsite.CallSiteAwareMetaMethod.createPojoCallSite.

getDeclaringClassback to summary
public final CachedClass getDeclaringClass()

Implements abstract groovy.lang.MetaMethod.getDeclaringClass.

Doc from groovy.lang.MetaMethod.getDeclaringClass.

Gets the class where this method is declared

Returns:CachedClass

class of this method

getReturnTypeback to summary
public Class<T> getReturnType()

Implements abstract groovy.lang.MetaMethod.getReturnType.

Doc from groovy.lang.MetaMethod.getReturnType.

Access the return type for this method

Returns:Class<T>

the return type of this method

invokeback to summary
public Object invoke(Object object, Object[] args)

Implements abstract groovy.lang.MetaMethod.invoke.

Doc from groovy.lang.MetaMethod.invoke.

Invoke this method

Parameters
object:Object

The object this method should be invoked on

args:Object[]

The arguments for the method if applicable

Returns:Object

The return value of the invocation

org.codehaus.groovy.runtime.dgmimpl.arrays back to summary

private Class CharacterArrayGetAtMetaMethod.MyPojoMetaMethodSite

extends PojoMetaMethodSite
Class Inheritance

Field Summary

Inherited from org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite:
version

Constructor Summary

AccessConstructor and Description
public
MyPojoMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class<T>[] params)

Method Summary

Modifier and TypeMethod and Description
public Object
Inherited from org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite:
callcheckCallcheckCallcheckCallcheckCallcheckCallcheckCallcheckPojoMetaClasscreateCachedMethodSitecreateNonAwareCallSitecreatePojoMetaMethodSiteinvoke

Constructor Detail

MyPojoMetaMethodSiteback to summary
public MyPojoMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class<T>[] params)

Method Detail

callback to summary
public Object call(Object receiver, Object arg) throws Throwable

Overrides org.codehaus.groovy.runtime.callsite.AbstractCallSite.call.

Implements org.codehaus.groovy.runtime.callsite.CallSite.call.