Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
* @param String[] args main() function arguments array
*/
public static void main(String[] args) {
* @param String[] args main() function arguments array
*/
public static void main(String[] args) {
+ if (args.length == 0) {
+ System.out.println("Please run with java Main <Class Name to inspect>");
+ System.exit(-1);
+ }
String className = args[0];
String className = args[0];
Class cl = null;
try {
cl = Class.forName(className);
Class cl = null;
try {
cl = Class.forName(className);