Top Description Inners Fields Constructors Methods
org.codehaus.groovy.runtime.callsite

public Class StaticMetaMethodSite

extends MetaMethodSite
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap, org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce
Imports
groovy.lang.GroovyRuntimeException, .MetaClassImpl, .MetaMethod, org.codehaus.groovy.reflection.CachedMethod, org.codehaus.groovy.runtime.MetaClassHelper, .ScriptBytecodeAdapter

POJO call site meta class - cached method - cached

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap

Call site where we know there is no need to unwrap arguments

public static class
StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce

Call site where we know there is no need neither unwrap nor coerce arguments

Field Summary

Modifier and TypeField and Description
private final int
Inherited from org.codehaus.groovy.runtime.callsite.MetaMethodSite:
metaMethodparams

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public Object
public Object
protected final boolean
checkCall(Object receiver, Object[] args)

protected final boolean
checkCall(Object receiver)

protected final boolean
checkCall(Object receiver, Object arg1)

protected final boolean
checkCall(Object receiver, Object arg1, Object arg2)

protected final boolean
checkCall(Object receiver, Object arg1, Object arg2, Object arg3)

protected final boolean
checkCall(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4)

public static CallSite
createStaticMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class<T>[] params, Object[] args)

public Object
invoke(Object receiver, Object[] args)

Field Detail

versionback to summary
private final int version

Constructor Detail

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

Method Detail

callback to summary
public Object call(Object receiver, Object[] args) throws Throwable

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

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

callStaticback to summary
public Object callStatic(Class<T> receiver, Object[] args) throws Throwable

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

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

checkCallback to summary
protected final boolean checkCall(Object receiver, Object[] args)
checkCallback to summary
protected final boolean checkCall(Object receiver)
checkCallback to summary
protected final boolean checkCall(Object receiver, Object arg1)
checkCallback to summary
protected final boolean checkCall(Object receiver, Object arg1, Object arg2)
checkCallback to summary
protected final boolean checkCall(Object receiver, Object arg1, Object arg2, Object arg3)
checkCallback to summary
protected final boolean checkCall(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4)
createStaticMetaMethodSiteback to summary
public static CallSite createStaticMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class<T>[] params, Object[] args)
invokeback to summary
public Object invoke(Object receiver, Object[] args) throws Throwable
org.codehaus.groovy.runtime.callsite back to summary

public Class StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap

extends StaticMetaMethodSite
Class Inheritance

Call site where we know there is no need to unwrap arguments

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public final Object
Inherited from org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite:
callcallStaticcheckCallcheckCallcheckCallcheckCallcheckCallcheckCallcreateStaticMetaMethodSite

Constructor Detail

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

Method Detail

invokeback to summary
public final Object invoke(Object receiver, Object[] args) throws Throwable

Overrides org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke.

org.codehaus.groovy.runtime.callsite back to summary

public Class StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce

extends StaticMetaMethodSite
Class Inheritance

Call site where we know there is no need neither unwrap nor coerce arguments

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final Object
Inherited from org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite:
callcallStaticcheckCallcheckCallcheckCallcheckCallcheckCallcheckCallcreateStaticMetaMethodSite

Constructor Detail

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

Method Detail

invokeback to summary
public final Object invoke(Object receiver, Object[] args) throws Throwable

Overrides org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke.