Manually sorted GWT.java-hosted
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1704 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/core/client/GWT.java-hosted b/user/src/com/google/gwt/core/client/GWT.java-hosted
index be411ec..b9e8979 100644
--- a/user/src/com/google/gwt/core/client/GWT.java-hosted
+++ b/user/src/com/google/gwt/core/client/GWT.java-hosted
@@ -33,30 +33,11 @@
}
};
- public static UncaughtExceptionHandler getUncaughtExceptionHandler() {
- return sUncaughtExceptionHandler;
- }
-
- public static void setUncaughtExceptionHandler(
- UncaughtExceptionHandler handler) {
- sUncaughtExceptionHandler = handler;
- }
-
public static <T> T create(Class<?> classLiteral) {
// deferred binding at runtime
return ShellGWT.create(classLiteral);
}
- public static String getTypeName(Object o) {
- // uses reflection in hosted mode
- return ShellGWT.getTypeName(o);
- }
-
- public static boolean isScript() {
- // false in hosted mode
- return false;
- }
-
public static String getHostPageBaseURL() {
return Impl.getHostPageBaseURL();
}
@@ -69,8 +50,27 @@
return Impl.getModuleName();
}
+ public static String getTypeName(Object o) {
+ // uses reflection in hosted mode
+ return ShellGWT.getTypeName(o);
+ }
+
+ public static UncaughtExceptionHandler getUncaughtExceptionHandler() {
+ return sUncaughtExceptionHandler;
+ }
+
+ public static boolean isScript() {
+ // false in hosted mode
+ return false;
+ }
+
public static void log(String message, Throwable e) {
// logs to the shell logger in hosted mode
ShellGWT.log(message, e);
}
+
+ public static void setUncaughtExceptionHandler(
+ UncaughtExceptionHandler handler) {
+ sUncaughtExceptionHandler = handler;
+ }
}