public class ConstructorMetaMethodSite extends MetaMethodSite
params
metaClass
array, index, name
Constructor and Description |
---|
ConstructorMetaMethodSite(CallSite site,
MetaClassImpl metaClass,
MetaMethod method,
Class[] params) |
Modifier and Type | Method and Description |
---|---|
Object |
callConstructor(Object receiver,
Object[] args) |
Object |
invoke(Object receiver,
Object[] args) |
acceptGetProperty, acceptGroovyObjectGetProperty, call, call, call, call, call, call, 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
public ConstructorMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod method, Class[] params)
public final Object invoke(Object receiver, Object[] args) throws Throwable
Throwable
public final Object callConstructor(Object receiver, Object[] args) throws Throwable
callConstructor
in interface CallSite
callConstructor
in class AbstractCallSite
Throwable