@Deprecated public class Java7 extends Java6
For crude customization, you can add your own methods to your own version and place it on the classpath ahead of this one.
Constructor and Description |
---|
Java7()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
getInvokeSpecialHandle(Method method,
Object receiver)
Deprecated.
Returns a handle with bound receiver to invokeSpecial the given method.
|
int |
getVersion()
Deprecated.
Gives the version the plugin is made for
|
void |
invalidateCallSites()
Deprecated.
|
Object |
invokeHandle(Object handle,
Object[] args)
Deprecated.
Invokes a handle produced by #getInvokeSpecialdHandle
|
checkAccessible, checkCanSetAccessible, configureAnnotation, configureAnnotationFromDefinition, configureAnnotationNodeFromDefinition, configureClassNode, configureTypeVariableDefinition, configureTypeVariableReference, getElementCode, getPluginDefaultGroovyMethods, getPluginStaticGroovyMethods, makeParameter, processParameters, setAdditionalClassInformation, transformMetaMethod, transformMetaMethod, trySetAccessible
public void invalidateCallSites()
invalidateCallSites
in interface VMPlugin
invalidateCallSites
in class Java5
public int getVersion()
VMPlugin
getVersion
in interface VMPlugin
getVersion
in class Java6
public Object getInvokeSpecialHandle(Method method, Object receiver)
VMPlugin
getInvokeSpecialHandle
in interface VMPlugin
getInvokeSpecialHandle
in class Java5
public Object invokeHandle(Object handle, Object[] args) throws Throwable
VMPlugin
invokeHandle
in interface VMPlugin
invokeHandle
in class Java5
handle
- the handleargs
- arguments for the method call, can be empty but not nullThrowable