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

public Class PojoMetaMethodSite

extends PlainObjectMetaMethodSite
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.PojoCachedMethodSite, org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrap, org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrapNoCoerce, org.codehaus.groovy.runtime.dgmimpl.NumberNumberMetaMethod.NumberNumberCallSite, org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayGetAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.BooleanArrayPutAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayGetAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.ByteArrayPutAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayGetAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.CharacterArrayPutAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayGetAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.DoubleArrayPutAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayGetAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.FloatArrayPutAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayGetAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.IntegerArrayPutAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayGetAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.LongArrayPutAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayGetAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayPutAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayGetAtMetaMethod.MyPojoMetaMethodSite, org.codehaus.groovy.runtime.dgmimpl.arrays.ShortArrayPutAtMetaMethod.MyPojoMetaMethodSite
Imports
groovy.lang.GroovyRuntimeException, .MetaClassImpl, .MetaMethod, org.codehaus.groovy.reflection.CachedMethod, org.codehaus.groovy.runtime.GroovyCategorySupport, .MetaClassHelper, .NullObject, .ScriptBytecodeAdapter

POJO 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
PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrap

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

public static class
PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrapNoCoerce

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

Field Summary

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

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
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)

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

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

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

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

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

Field Detail

versionback to summary
protected final int version

Constructor Detail

PojoMetaMethodSiteback to summary
public PojoMetaMethodSite(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.

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)
checkPojoMetaClassback to summary
protected final boolean checkPojoMetaClass()
createCachedMethodSiteback to summary
public static CallSite createCachedMethodSite(CallSite site, MetaClassImpl metaClass, CachedMethod metaMethod, Class<T>[] params, Object[] args)
createNonAwareCallSiteback to summary
public static CallSite createNonAwareCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class<T>[] params, Object[] args)
createPojoMetaMethodSiteback to summary
public static CallSite createPojoMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class<T>[] params, Object receiver, Object[] args)
invokeback to summary
public Object invoke(Object receiver, Object[] args) throws Throwable
org.codehaus.groovy.runtime.callsite back to summary

public Class PojoMetaMethodSite.PojoCachedMethodSite

extends PojoMetaMethodSite
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrap, org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrapNoCoerce

Field Summary

Modifier and TypeField and Description
pack-priv final Method
Inherited from org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite:
version

Constructor Summary

AccessConstructor and Description
public
PojoCachedMethodSite(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:
callcheckCallcheckCallcheckCallcheckCallcheckCallcheckCallcheckPojoMetaClasscreateCachedMethodSitecreateNonAwareCallSitecreatePojoMetaMethodSite

Field Detail

methodback to summary
pack-priv final Method method

Constructor Detail

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

Method Detail

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

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

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

public Class PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrap

extends PojoCachedMethodSite
Class Inheritance

Field Summary

Inherited from org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.PojoCachedMethodSite:
method

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public final Object

Constructor Detail

PojoCachedMethodSiteNoUnwrapback to summary
public PojoCachedMethodSiteNoUnwrap(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.PojoMetaMethodSite.PojoCachedMethodSite.invoke.

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

public Class PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrapNoCoerce

extends PojoCachedMethodSite
Class Inheritance

Field Summary

Inherited from org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.PojoCachedMethodSite:
method

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final Object

Constructor Detail

PojoCachedMethodSiteNoUnwrapNoCoerceback to summary
public PojoCachedMethodSiteNoUnwrapNoCoerce(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.PojoMetaMethodSite.PojoCachedMethodSite.invoke.

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

public Class PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrap

extends PojoMetaMethodSite
Class Inheritance

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
PojoMetaMethodSiteNoUnwrap(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.PojoMetaMethodSite:
callcheckCallcheckCallcheckCallcheckCallcheckCallcheckCallcheckPojoMetaClasscreateCachedMethodSitecreateNonAwareCallSitecreatePojoMetaMethodSite

Constructor Detail

PojoMetaMethodSiteNoUnwrapback to summary
public PojoMetaMethodSiteNoUnwrap(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.PojoMetaMethodSite.invoke.

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

public Class PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrapNoCoerce

extends PojoMetaMethodSite
Class Inheritance

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
PojoMetaMethodSiteNoUnwrapNoCoerce(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.PojoMetaMethodSite:
callcheckCallcheckCallcheckCallcheckCallcheckCallcheckCallcheckPojoMetaClasscreateCachedMethodSitecreateNonAwareCallSitecreatePojoMetaMethodSite

Constructor Detail

PojoMetaMethodSiteNoUnwrapNoCoerceback to summary
public PojoMetaMethodSiteNoUnwrapNoCoerce(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.PojoMetaMethodSite.invoke.