Class Java10

All Implemented Interfaces:
VMPlugin
Direct Known Subclasses:
Java16

@Deprecated(since="6.0.0", forRemoval=true) public class Java10 extends Java9
Deprecated, for removal: This API element is subject to removal in a future version.
Use Java17 instead. Groovy 6.0 requires JDK 17+.
  • Constructor Details

    • Java10

      public Java10()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getVersion

      public int getVersion()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: VMPlugin
      Gives the version the plugin is made for
      Specified by:
      getVersion in interface VMPlugin
      Overrides:
      getVersion in class Java9
      Returns:
      7 for jdk7, 8 for jdk8, 9 for jdk9 or higher
    • getPluginDefaultGroovyMethods

      public Class<?>[] getPluginDefaultGroovyMethods()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPluginDefaultGroovyMethods in interface VMPlugin
      Overrides:
      getPluginDefaultGroovyMethods in class Java9