| Constructor and Description |
|---|
Java5() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureAnnotation(AnnotationNode node) |
void |
configureAnnotationFromDefinition(AnnotationNode definition,
AnnotationNode root)
Deprecated.
|
void |
configureAnnotationNodeFromDefinition(AnnotationNode definition,
AnnotationNode root) |
void |
configureClassNode(CompileUnit compileUnit,
ClassNode classNode) |
static GenericsType |
configureTypeVariableDefinition(ClassNode base,
ClassNode[] cBounds) |
static ClassNode |
configureTypeVariableReference(java.lang.String name) |
protected int |
getElementCode(java.lang.annotation.ElementType value) |
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 plugin 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 static GenericsType configureTypeVariableDefinition(ClassNode base, ClassNode[] cBounds)
public static ClassNode configureTypeVariableReference(java.lang.String name)
public java.lang.Class[] getPluginDefaultGroovyMethods()
getPluginDefaultGroovyMethods in interface VMPluginpublic java.lang.Class[] getPluginStaticGroovyMethods()
getPluginStaticGroovyMethods in interface VMPlugin@Deprecated public void configureAnnotationFromDefinition(AnnotationNode definition, AnnotationNode root)
public void configureAnnotationNodeFromDefinition(AnnotationNode definition, AnnotationNode root)
configureAnnotationNodeFromDefinition in interface VMPluginpublic void configureAnnotation(AnnotationNode node)
configureAnnotation in interface VMPluginprotected int getElementCode(java.lang.annotation.ElementType value)
public 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