Package org.codehaus.groovy.vmplugin.v6
Class PluginStaticGroovyMethods
java.lang.Object
org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport
org.codehaus.groovy.vmplugin.v6.PluginStaticGroovyMethods
This class defines new Java 6 specific static groovy methods which extend the normal
JDK classes inside the Groovy environment.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport
DefaultGroovyMethodsSupport.RangeInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptEngine
$static_propertyMissing
(ScriptEngineManager self, String languageShortName) Provides a convenient shorthand for accessing a Scripting Engine with namelanguageShortName
using a newly createdScriptEngineManager
instance.Methods inherited from class org.codehaus.groovy.runtime.DefaultGroovyMethodsSupport
cloneSimilarCollection, cloneSimilarMap, closeQuietly, closeWithWarning, createSimilarArray, createSimilarCollection, createSimilarCollection, createSimilarList, createSimilarMap, createSimilarOrDefaultCollection, createSimilarSet, normaliseIndex, sameType, subListBorders, subListBorders
-
Constructor Details
-
PluginStaticGroovyMethods
public PluginStaticGroovyMethods()
-
-
Method Details
-
$static_propertyMissing
public static ScriptEngine $static_propertyMissing(ScriptEngineManager self, String languageShortName) Provides a convenient shorthand for accessing a Scripting Engine with namelanguageShortName
using a newly createdScriptEngineManager
instance.- Parameters:
self
- Placeholder variable used by Groovy categories; ignored for default static methodslanguageShortName
- 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
-