public static class ConstructorSite.ConstructorSiteNoUnwrap
extends ConstructorSite
Call site where we know there is no need to unwrap arguments
| Fields inherited from class | Fields |
|---|---|
class MetaClassSite |
metaClass |
class AbstractCallSite |
array, index, name |
| Constructor and description |
|---|
ConstructorSiteNoUnwrap(CallSite site, MetaClassImpl metaClass, CachedConstructor constructor, Class[] params)Delegates to ConstructorSite, recording the same meta-class version. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public final Object |
callConstructor(Object receiver, Object[] args)When checkCall(Object, Object[]) passes, calls CachedConstructor.doConstructorInvoke, which coerces, and skips MetaClassHelper.unwrap. |
| Methods inherited from class | Name |
|---|---|
class ConstructorSite |
callConstructor, checkCall, createConstructorSite |
class AbstractCallSite |
acceptGetProperty, acceptGroovyObjectGetProperty, call, 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, callStatic, createGetPropertySite, createGroovyObjectGetPropertySite, getArray, getIndex, getName, getProperty |
Delegates to ConstructorSite, recording the same meta-class version.
When checkCall(Object, Object[]) passes, calls CachedConstructor.doConstructorInvoke, which coerces, and skips MetaClassHelper.unwrap. A GroovyRuntimeException is rethrown via ScriptBytecodeAdapter.unwrap. Otherwise falls back to CallSiteArray.defaultCallConstructor.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.