ScriptStaticExtensions (Groovy 4.0.10)
Description: declaration: package: org.codehaus.groovy.jsr223, class: ScriptStaticExtensions

Package org.codehaus.groovy.jsr223

# Class ScriptStaticExtensions

java.lang.Object
org.codehaus.groovy.jsr223.ScriptStaticExtensions

public class ScriptStaticExtensions extends Object
This class defines new Java 6 specific static groovy methods which extend the normal JDK classes inside the Groovy environment.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ScriptStaticExtensions()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ScriptEngine`
  `$static_propertyMissing(ScriptEngineManager self, String languageShortName)`
  Provides a convenient shorthand for accessing a Scripting Engine with name `languageShortName` using a newly created `ScriptEngineManager` instance.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ScriptStaticExtensions

    public ScriptStaticExtensions()

- ## Method Details

  - ### $static_propertyMissing

    public static ScriptEngine $static_propertyMissing(ScriptEngineManager self, String languageShortName)
    Provides a convenient shorthand for accessing a Scripting Engine with name `languageShortName` using a newly created `ScriptEngineManager` instance.
    Parameters:
      `self` - Placeholder variable used by Groovy categories; ignored for default static methods
      `languageShortName` - The short name of the scripting engine of interest
    Returns:
      the ScriptEngine corresponding to the supplied short name or null if no engine was found
    Since:
      1.8.0