| java.lang.Object tide.execute.StaticStarter
StaticStarter | final public class StaticStarter (Code) | | Utility to start static methods.
Useful to quick evaluate some static method, not only the "public static void main(String[] args)"
Uses reflection to launch the selected method.
The method must have basic types arguments, for example empty or string, doublt, int, ...
This starter should be launched from a new JVM with the class path of the project containing the class to launch.
Not to be called in tIDE itself (classes pollution).
Ex: java -cp=XXX;yyy path/to/StaticStarter path/to/class/to/launch methodName String;String[];int;double a;b;c;d "12";"13"
if the values are not complete, a dialog opens
names may also be empty
=> DO NOT OBFUSCATE !
-keepclasseswithmembers class StaticStarter {
public static void main(java.lang.String[]);
}
-keep class StaticStarter* # also the inner classes!!
IN PROGRESS....
|
Method Summary | |
public static void | hello() | public static int | hello(int a) | public static int | hello(int a, String[] abcd) | public static int | hello2(int a, int b, String ss) | public static void | main(String[] args) The starter itself has a main method :-). |
hello | public static void hello()(Code) | | |
hello | public static int hello(int a)(Code) | | |
hello2 | public static int hello2(int a, int b, String ss)(Code) | | |
main | public static void main(String[] args) throws Exception(Code) | | The starter itself has a main method :-).
Parameters: args - Arguments are { path/to/the/class/to/launch, methodname, types_list, names_list, values_listEXITS THE JVM AT END. |
|
|