Class StaticMetaClassSite
- java.lang.Object
-
- org.codehaus.groovy.runtime.callsite.AbstractCallSite
-
- org.codehaus.groovy.runtime.callsite.MetaClassSite
-
- org.codehaus.groovy.runtime.callsite.StaticMetaClassSite
-
- All Implemented Interfaces:
CallSite
public class StaticMetaClassSite extends MetaClassSite
Call site for invoking static methods meta class - cached method - not cached
-
-
Field Summary
-
Fields inherited from class org.codehaus.groovy.runtime.callsite.MetaClassSite
metaClass
-
Fields inherited from class org.codehaus.groovy.runtime.callsite.AbstractCallSite
array, index, name
-
-
Constructor Summary
Constructors Constructor Description StaticMetaClassSite(CallSite site, MetaClass metaClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
call(Object receiver, Object[] args)
Object
callStatic(Class receiver, Object[] args)
-
Methods 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
-
-
-
-
Method Detail
-
call
public final Object call(Object receiver, Object[] args) throws Throwable
- Specified by:
call
in interfaceCallSite
- Overrides:
call
in classAbstractCallSite
- Throws:
Throwable
-
callStatic
public final Object callStatic(Class receiver, Object[] args) throws Throwable
- Specified by:
callStatic
in interfaceCallSite
- Overrides:
callStatic
in classAbstractCallSite
- Throws:
Throwable
-
-