1.1 --- a/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Console.java Thu Dec 20 08:59:47 2012 +0100
1.2 +++ b/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Console.java Thu Dec 20 11:03:34 2012 +0100
1.3 @@ -83,6 +83,11 @@
1.4 log(ex.getMessage());
1.5 }
1.6 }
1.7 +
1.8 + static String invoke(String clazz, String method) throws ClassNotFoundException, InvocationTargetException, IllegalAccessException {
1.9 + final Object r = invokeMethod(clazz, method);
1.10 + return r == null ? "null" : r.toString().toString();
1.11 + }
1.12
1.13 private static Object invokeMethod(String clazz, String method)
1.14 throws ClassNotFoundException, InvocationTargetException,