Class StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce
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.StaticMetaMethodSite
org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce
- All Implemented Interfaces:
CallSite
- Enclosing class:
- StaticMetaMethodSite
public static class StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce
extends StaticMetaMethodSite
Call site where we know there is no need neither unwrap nor coerce arguments
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite
StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap, StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce -
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
ConstructorsConstructorDescriptionStaticMetaMethodSiteNoUnwrapNoCoerce(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params) Delegates toStaticMetaMethodSite, recording the same meta-class version. -
Method Summary
Methods inherited from class org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite
call, callStatic, checkCall, checkCall, checkCall, checkCall, checkCall, checkCall, createStaticMetaMethodSiteMethods 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, callCurrent, callGetProperty, callGetPropertySafe, callGroovyObjectGetProperty, callGroovyObjectGetPropertySafe, callSafe, callSafe, callSafe, callSafe, callSafe, callSafe, callStatic, callStatic, callStatic, callStatic, callStatic, createGetPropertySite, createGroovyObjectGetPropertySite, getArray, getIndex, getName, getProperty
-
Constructor Details
-
StaticMetaMethodSiteNoUnwrapNoCoerce
public StaticMetaMethodSiteNoUnwrapNoCoerce(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params) Delegates toStaticMetaMethodSite, recording the same meta-class version.
-
-
Method Details
-
invoke
CallsMetaMethod.invoke(Object, Object[])with noMetaClassHelper.unwrap(Object[])and noParameterTypes.coerceArgumentsToClasses(Object[]). AGroovyRuntimeExceptionis rethrown viaScriptBytecodeAdapter.unwrap(GroovyRuntimeException). Performs no receiver, meta-class version, or argument-class check.- Overrides:
invokein classStaticMetaMethodSite- Throws:
Throwable
-