public final class GroovySystem extends Object
Modifier and Type | Field and Description |
---|---|
static Map<String,GroovyRunner> |
RUNNER_REGISTRY
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MetaClassRegistry |
getMetaClassRegistry() |
static String |
getShortVersion()
Returns the major and minor part of the groovy version excluding the point/patch part of the version.
|
static String |
getVersion()
Returns the groovy version
|
static boolean |
isKeepJavaMetaClasses() |
static boolean |
isUseReflection()
Deprecated.
|
static void |
setKeepJavaMetaClasses(boolean keepJavaMetaClasses) |
static void |
stopThreadedReferenceManager()
This method can be used to ensure that no threaded created
by a reference manager will be active.
|
@Deprecated public static final Map<String,GroovyRunner> RUNNER_REGISTRY
GroovyRunnerRegistry
@Deprecated public static boolean isUseReflection()
public static MetaClassRegistry getMetaClassRegistry()
public static void setKeepJavaMetaClasses(boolean keepJavaMetaClasses)
public static boolean isKeepJavaMetaClasses()
public static void stopThreadedReferenceManager()
public static String getVersion()
public static String getShortVersion()