public class X_Runtime extends Object
isRuntimeInjection() to return
true or false, depending on the configuration present in gwt module xml.
Finally, our xapi-debug module will override X_Runtime in the classloader,
to return true for isDebug().| Modifier and Type | Method and Description |
|---|---|
static boolean |
isActionScript() |
static boolean |
isDebug() |
static boolean |
isGwt() |
static boolean |
isJava()
Overridden in super-source to return false.
|
static boolean |
isJavaScript()
Overridden in super-source to return GWT.isScript()
|
static boolean |
isMultithreaded() |
static boolean |
isRuntimeInjection()
In jres, this returns true if xapi.inject.X_Inject is on classpath,
and the user has not set system property
X_Namespace.PROPERTY_USE_X_INJECT explicitly to "false". |
public static boolean isJavaScript()
public static boolean isJava()
public static boolean isActionScript()
public static boolean isGwt()
public static boolean isRuntimeInjection()
X_Namespace.PROPERTY_USE_X_INJECT explicitly to "false".
Overridden in super-source to return false;
overridden again with magic-method-injection to return true.
The default debug module will check X_Properties on every call.public static boolean isDebug()
public static boolean isMultithreaded()
X_Namespace.PROPERTY_MULTITHREADED is set to 0Copyright © 2012-2013 The Internet Party. All Rights Reserved.