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

public Class PogoMetaMethodSite

extends PlainObjectMetaMethodSite
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.PogoCachedMethodSite, org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrap, org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrapNoCoerce
Imports
groovy.lang.GroovyObject, .GroovyRuntimeException, .MetaClassImpl, .MetaMethod, org.codehaus.groovy.reflection.CachedMethod, org.codehaus.groovy.runtime.GroovyCategorySupport, .MetaClassHelper, .ScriptBytecodeAdapter

POGO call site meta class - cached method - cached

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class
PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrap

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

public static class
PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrapNoCoerce

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

Field Summary

Modifier and TypeField and Description
private final boolean
private final int
Inherited from org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite:
VM_PLUGIN

Constructor Summary

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

Method Summary

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

protected boolean
checkCall(Object receiver)

protected boolean
checkCall(Object receiver, Object arg1)

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

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

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

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

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

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

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

private boolean
Inherited from org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite:
doInvoke

Field Detail

skipVersionCheckback to summary
private final boolean skipVersionCheck
versionback to summary
private final int version

Constructor Detail

PogoMetaMethodSiteback to summary
public PogoMetaMethodSite(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.

callCurrentback to summary
public Object callCurrent(GroovyObject receiver, Object[] args) throws Throwable

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

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

checkCallback to summary
protected boolean checkCall(Object receiver, Object[] args)
checkCallback to summary
protected boolean checkCall(Object receiver)
checkCallback to summary
protected boolean checkCall(Object receiver, Object arg1)
checkCallback to summary
protected boolean checkCall(Object receiver, Object arg1, Object arg2)
checkCallback to summary
protected boolean checkCall(Object receiver, Object arg1, Object arg2, Object arg3)
checkCallback to summary
protected boolean checkCall(Object receiver, Object arg1, Object arg2, Object arg3, Object arg4)
createCachedMethodSiteback to summary
public static CallSite createCachedMethodSite(CallSite site, MetaClassImpl metaClass, CachedMethod metaMethod, Class<T>[] params, Object[] args)
createNonAwareCallSiteback to summary
private static CallSite createNonAwareCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class<T>[] params, Object[] args)
createPogoMetaMethodSiteback to summary
public static CallSite createPogoMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class<T>[] params, Object[] args)
invokeback to summary
public Object invoke(Object receiver, Object[] args) throws Throwable
nonParamCheckback to summary
private boolean nonParamCheck(Object receiver)
org.codehaus.groovy.runtime.callsite back to summary

public Class PogoMetaMethodSite.PogoCachedMethodSite

extends PogoMetaMethodSite
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrap, org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce

Field Summary

Modifier and TypeField and Description
pack-priv final Method

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public Object
Inherited from org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite:
callcallCurrentcheckCallcheckCallcheckCallcheckCallcheckCallcheckCallcreateCachedMethodSitecreatePogoMetaMethodSite

Field Detail

methodback to summary
pack-priv final Method method

Constructor Detail

PogoCachedMethodSiteback to summary
public PogoCachedMethodSite(CallSite site, MetaClassImpl metaClass, CachedMethod metaMethod, Class<T>[] params)

Method Detail

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

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

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

public Class PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrap

extends PogoCachedMethodSite
Class Inheritance

Field Summary

Inherited from org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.PogoCachedMethodSite:
method

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public final Object

Constructor Detail

PogoCachedMethodSiteNoUnwrapback to summary
public PogoCachedMethodSiteNoUnwrap(CallSite site, MetaClassImpl metaClass, CachedMethod 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.PogoMetaMethodSite.PogoCachedMethodSite.invoke.

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

public Class PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce

extends PogoCachedMethodSite
Class Inheritance

Field Summary

Inherited from org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.PogoCachedMethodSite:
method

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final Object

Constructor Detail

PogoCachedMethodSiteNoUnwrapNoCoerceback to summary
public PogoCachedMethodSiteNoUnwrapNoCoerce(CallSite site, MetaClassImpl metaClass, CachedMethod 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.PogoMetaMethodSite.PogoCachedMethodSite.invoke.

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

public Class PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrap

extends PogoMetaMethodSite
Class Inheritance

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

Constructor Summary

AccessConstructor and Description
public
PogoMetaMethodSiteNoUnwrap(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.PogoMetaMethodSite:
callcallCurrentcheckCallcheckCallcheckCallcheckCallcheckCallcheckCallcreateCachedMethodSitecreatePogoMetaMethodSite

Constructor Detail

PogoMetaMethodSiteNoUnwrapback to summary
public PogoMetaMethodSiteNoUnwrap(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.PogoMetaMethodSite.invoke.

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

public Class PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrapNoCoerce

extends PogoMetaMethodSite
Class Inheritance

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

Constructor Summary

AccessConstructor and Description
public
PogoMetaMethodSiteNoUnwrapNoCoerce(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.PogoMetaMethodSite:
callcallCurrentcheckCallcheckCallcheckCallcheckCallcheckCallcheckCallcreateCachedMethodSitecreatePogoMetaMethodSite

Constructor Detail

PogoMetaMethodSiteNoUnwrapNoCoerceback to summary
public PogoMetaMethodSiteNoUnwrapNoCoerce(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.PogoMetaMethodSite.invoke.