Modifier and Type | Method and Description |
---|---|
void |
configureAnnotation(AnnotationNode an) |
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 c) |
void setAdditionalClassInformation(ClassNode c)
Class[] getPluginDefaultGroovyMethods()
Class[] getPluginStaticGroovyMethods()
void configureAnnotation(AnnotationNode an)
void configureClassNode(CompileUnit compileUnit, ClassNode classNode)
void invalidateCallSites()
Object getInvokeSpecialHandle(Method m, Object receiver)
Object invokeHandle(Object handle, Object[] args) throws Throwable
handle
- the handleargs
- arguments for the method call, can be empty but not nullThrowable
int getVersion()