| Constructor and Description |
|---|
Java5() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureAnnotation(AnnotationNode node) |
void |
configureClassNode(CompileUnit compileUnit,
ClassNode classNode) |
Object |
getInvokeSpecialHandle(Method m,
Object receiver)
Returns a handle with bound receiver to invokeSpecial the given method.
|
Class[] |
getPluginDefaultGroovyMethods() |
Class[] |
getPluginStaticGroovyMethods() |
int |
getVersion()
Gives the version the plguin is made for
|
void |
invalidateCallSites() |
Object |
invokeHandle(Object handle,
Object[] args)
Invokes a handle produced by #getInvokeSpecialdHandle
|
void |
setAdditionalClassInformation(ClassNode cn) |
public void setAdditionalClassInformation(ClassNode cn)
setAdditionalClassInformation in interface VMPluginpublic Class[] getPluginDefaultGroovyMethods()
getPluginDefaultGroovyMethods in interface VMPluginpublic Class[] getPluginStaticGroovyMethods()
getPluginStaticGroovyMethods in interface VMPluginpublic void configureAnnotation(AnnotationNode node)
configureAnnotation in interface VMPluginpublic void configureClassNode(CompileUnit compileUnit, ClassNode classNode)
configureClassNode in interface VMPluginpublic void invalidateCallSites()
invalidateCallSites in interface VMPluginpublic Object getInvokeSpecialHandle(Method m, Object receiver)
VMPlugingetInvokeSpecialHandle in interface VMPluginpublic int getVersion()
VMPlugingetVersion in interface VMPluginpublic Object invokeHandle(Object handle, Object[] args) throws Throwable
VMPlugininvokeHandle in interface VMPluginhandle - the handleargs - arguments for the method call, can be empty but not nullThrowable