Constructor and Description |
---|
Java7() |
Modifier and Type | Method and Description |
---|---|
Object |
getInvokeSpecialHandle(Method method,
Object receiver)
Returns a handle with bound receiver to invokeSpecial the given method.
|
int |
getVersion()
Gives the version the plguin is made for
|
void |
invalidateCallSites() |
Object |
invokeHandle(Object handle,
Object[] args)
Invokes a handle produced by #getInvokeSpecialdHandle
|
configureAnnotation, configureClassNode, getPluginDefaultGroovyMethods, getPluginStaticGroovyMethods, setAdditionalClassInformation
public void invalidateCallSites()
invalidateCallSites
in interface VMPlugin
invalidateCallSites
in class Java5
public int getVersion()
VMPlugin
getVersion
in interface VMPlugin
getVersion
in class Java6
public Object getInvokeSpecialHandle(Method method, Object receiver)
VMPlugin
getInvokeSpecialHandle
in interface VMPlugin
getInvokeSpecialHandle
in class Java5
public Object invokeHandle(Object handle, Object[] args) throws Throwable
VMPlugin
invokeHandle
in interface VMPlugin
invokeHandle
in class Java5
handle
- the handleargs
- arguments for the method call, can be empty but not nullThrowable