Class PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce
java.lang.Object
org.codehaus.groovy.runtime.callsite.AbstractCallSite
org.codehaus.groovy.runtime.callsite.MetaClassSite
org.codehaus.groovy.runtime.callsite.MetaMethodSite
org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.PogoCachedMethodSite
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce
- All Implemented Interfaces:
CallSite
- Enclosing class:
- PogoMetaMethodSite
public static class PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce
extends PogoMetaMethodSite.PogoCachedMethodSite
Reflected POGO site that skips both
MetaClassHelper.unwrap(Object[]) and
ParameterTypes.coerceArgumentsToClasses(Object[]).
invoke passes args to
PlainObjectMetaMethodSite.doInvoke(java.lang.Object, java.lang.Object[], java.lang.reflect.Method). Category, meta-class
identity, version, and argument-class checks stay those of
PogoMetaMethodSite.-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite
PogoMetaMethodSite.PogoCachedMethodSite, PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrap, PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce, PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrap, PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrapNoCoerce -
Field Summary
Fields inherited from class org.codehaus.groovy.runtime.callsite.MetaMethodSite
paramsFields inherited from class org.codehaus.groovy.runtime.callsite.MetaClassSite
metaClassFields inherited from class org.codehaus.groovy.runtime.callsite.AbstractCallSite
array, index, name -
Constructor Summary
ConstructorsConstructorDescriptionPogoCachedMethodSiteNoUnwrapNoCoerce(CallSite site, MetaClassImpl metaClass, CachedMethod metaMethod, Class[] params) Delegates toPogoMetaMethodSite.PogoCachedMethodSite, recording the same meta-class version and reflected method. -
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectInvokes the reflected method throughPlainObjectMetaMethodSite.doInvoke(java.lang.Object, java.lang.Object[], java.lang.reflect.Method)with no unwrap and no coerce, and with no receiver, meta-class version, or argument-class check.Methods inherited from class org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite
call, callCurrent, checkCall, checkCall, checkCall, checkCall, checkCall, checkCall, createCachedMethodSite, createPogoMetaMethodSiteMethods inherited from class org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite
doInvokeMethods inherited from class org.codehaus.groovy.runtime.callsite.AbstractCallSite
acceptGetProperty, acceptGroovyObjectGetProperty, call, call, call, call, call, callConstructor, callConstructor, callConstructor, callConstructor, callConstructor, callConstructor, callCurrent, callCurrent, callCurrent, callCurrent, callCurrent, callGetProperty, callGetPropertySafe, callGroovyObjectGetProperty, callGroovyObjectGetPropertySafe, callSafe, callSafe, callSafe, callSafe, callSafe, callSafe, callStatic, callStatic, callStatic, callStatic, callStatic, callStatic, createGetPropertySite, createGroovyObjectGetPropertySite, getArray, getIndex, getName, getProperty
-
Constructor Details
-
PogoCachedMethodSiteNoUnwrapNoCoerce
public PogoCachedMethodSiteNoUnwrapNoCoerce(CallSite site, MetaClassImpl metaClass, CachedMethod metaMethod, Class[] params) Delegates toPogoMetaMethodSite.PogoCachedMethodSite, recording the same meta-class version and reflected method.
-
-
Method Details
-
invoke
Invokes the reflected method throughPlainObjectMetaMethodSite.doInvoke(java.lang.Object, java.lang.Object[], java.lang.reflect.Method)with no unwrap and no coerce, and with no receiver, meta-class version, or argument-class check.- Overrides:
invokein classPogoMetaMethodSite.PogoCachedMethodSite- Throws:
Throwable
-