| Constructor and Description |
|---|
Java5() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureAnnotation(AnnotationNode node) |
void |
configureClassNode(CompileUnit compileUnit,
ClassNode classNode) |
java.lang.Object |
getInvokeSpecialHandle(java.lang.reflect.Method m,
java.lang.Object receiver)
Returns a handle with bound receiver to invokeSpecial the given method.
|
java.lang.Class[] |
getPluginDefaultGroovyMethods() |
java.lang.Class[] |
getPluginStaticGroovyMethods() |
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
|
void |
setAdditionalClassInformation(ClassNode cn) |
public void setAdditionalClassInformation(ClassNode cn)
setAdditionalClassInformation in interface VMPluginpublic java.lang.Class[] getPluginDefaultGroovyMethods()
getPluginDefaultGroovyMethods in interface VMPluginpublic java.lang.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 java.lang.Object getInvokeSpecialHandle(java.lang.reflect.Method m,
java.lang.Object receiver)
VMPlugingetInvokeSpecialHandle in interface VMPluginpublic int getVersion()
VMPlugingetVersion in interface VMPluginpublic java.lang.Object invokeHandle(java.lang.Object handle,
java.lang.Object[] args)
throws java.lang.Throwable
VMPlugininvokeHandle in interface VMPluginhandle - the handleargs - arguments for the method call, can be empty but not nulljava.lang.Throwable