Groovy 2.2.0

org.codehaus.groovy.runtime.callsite
[Java] Class ConstructorMetaMethodSite

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.ConstructorMetaMethodSite

public class ConstructorMetaMethodSite
extends MetaMethodSite

Call site for invoking static methods meta class - cached method - not cached

Authors:
Alex Tkachman


Field Summary
 
Fields inherited from class MetaMethodSite
params
 
Fields inherited from class MetaClassSite
metaClass
 
Fields inherited from class AbstractCallSite
array, index, name
 
Constructor Summary
ConstructorMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod method, Class[] params)

 
Method Summary
Object callConstructor(Object receiver, Object[] args)

Object invoke(Object receiver, Object[] args)

 
Methods inherited from 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
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

ConstructorMetaMethodSite

public ConstructorMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod method, Class[] params)


 
Method Detail

callConstructor

public final Object callConstructor(Object receiver, Object[] args)


invoke

public final Object invoke(Object receiver, Object[] args)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.