Class PluginDefaultGroovyMethods

java.lang.Object
org.codehaus.groovy.vmplugin.v10.PluginDefaultGroovyMethods

public class PluginDefaultGroovyMethods extends Object
Defines new Groovy methods which appear on normal JDK 10 classes inside the Groovy environment.
Since:
4.0.0
  • Constructor Details

    • PluginDefaultGroovyMethods

      public PluginDefaultGroovyMethods()
  • Method Details

    • getPid

      public static String getPid(Runtime self)
      Get the pid of the current Java process
      Parameters:
      self -
      Returns:
      the pid
      Since:
      4.0.0