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 java.lang.Object
call(java.lang.Object receiver, java.lang.Object[] args)
java.lang.Object
callStatic(java.lang.Class receiver, java.lang.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 java.lang.Object call(java.lang.Object receiver, java.lang.Object[] args) throws java.lang.Throwable
- Specified by:
call
in interfaceCallSite
- Overrides:
call
in classAbstractCallSite
- Throws:
java.lang.Throwable
-
callStatic
public final java.lang.Object callStatic(java.lang.Class receiver, java.lang.Object[] args) throws java.lang.Throwable
- Specified by:
callStatic
in interfaceCallSite
- Overrides:
callStatic
in classAbstractCallSite
- Throws:
java.lang.Throwable
-
-