Class Java6
java.lang.Object
org.codehaus.groovy.vmplugin.v5.Java5
org.codehaus.groovy.vmplugin.v6.Java6
- All Implemented Interfaces:
VMPlugin
- Direct Known Subclasses:
Java7
Java 6 based functions. M12n moved these to modules.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Java5
configureAnnotation, configureAnnotationFromDefinition, configureAnnotationNodeFromDefinition, configureClassNode, configureTypeVariableDefinition, configureTypeVariableReference, fillParameterNames, getElementCode, getInvokeSpecialHandle, getPluginDefaultGroovyMethods, getPluginStaticGroovyMethods, invalidateCallSites, invokeHandle, setAdditionalClassInformation
-
Constructor Details
-
Java6
public Java6()
-
-
Method Details
-
getVersion
public int getVersion()Description copied from interface:VMPluginGives the version the plugin is made for- Specified by:
getVersionin interfaceVMPlugin- Overrides:
getVersionin classJava5- Returns:
- 7 for jdk7, 8 for jdk8, 9 for jdk9 or higher
-