Class StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap
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.StaticMetaMethodSiteNoUnwrap
- All Implemented Interfaces:
CallSite
- Enclosing class:
- StaticMetaMethodSite
Call site where we know there is no need to unwrap 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
ConstructorsConstructorDescriptionStaticMetaMethodSiteNoUnwrap(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params) Delegates toStaticMetaMethodSite, recording the same meta-class version. -
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectCallsMetaMethod.doMethodInvoke(Object, Object[]), which coerces, and skipsMetaClassHelper.unwrap(Object[]).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
-
StaticMetaMethodSiteNoUnwrap
public StaticMetaMethodSiteNoUnwrap(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params) Delegates toStaticMetaMethodSite, recording the same meta-class version.
-
-
Method Details
-
invoke
CallsMetaMethod.doMethodInvoke(Object, Object[]), which coerces, and skipsMetaClassHelper.unwrap(Object[]). AGroovyRuntimeExceptionis rethrown viaScriptBytecodeAdapter.unwrap(GroovyRuntimeException). Performs no receiver, meta-class version, or argument-class check.- Overrides:
invokein classStaticMetaMethodSite- Throws:
Throwable
-