public class X_Gwt extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
runMainMethod(Class<?> cls,
String... args)
Runs a main method;
dev mode will simply use reflection to call .main(args);
prod mode can magic-method-inject the main method into a web worker / iframe.
|
public static void runMainMethod(Class<?> cls, String... args)
cls - - The class with the main method to run. Use a class literal.args - - The strings you want passed to the main()Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.