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