Constructor and Description |
---|
Java7() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getInvokeSpecialHandle(java.lang.reflect.Method method,
java.lang.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() |
java.lang.Object |
invokeHandle(java.lang.Object handle,
java.lang.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 java.lang.Object getInvokeSpecialHandle(java.lang.reflect.Method method, java.lang.Object receiver)
VMPlugin
getInvokeSpecialHandle
in interface VMPlugin
getInvokeSpecialHandle
in class Java5
public java.lang.Object invokeHandle(java.lang.Object handle, java.lang.Object[] args) throws java.lang.Throwable
VMPlugin
invokeHandle
in interface VMPlugin
invokeHandle
in class Java5
handle
- the handleargs
- arguments for the method call, can be empty but not nulljava.lang.Throwable