docs: public static MOAObject fromCommandLine(Class requiredType, String commandline) {
    	MOAObject     result;
    	String[]			tmpOptions;
    	String				classname;
    	
    	try {
    		tmpOptions    = Utils.splitOptions(commandline);
    		classname     = tmpOptions[0];
    		tmpOptions[0] = "";
    		try {
    			result = (MOAObject) Class.forName(classname).newInstance();
    		}
    		catch (Exception e) {
    			// try to prepend package name
    			result = (MOAObject) Class.forName(requiredType.getPackage().getName() + "." + classname).newInstance();
    		}
    		if (result instanceof AbstractOptionHandler) {
    			((AbstractOptionHandler) result).getOptions().setViaCLIString(Utils.joinOptions(tmpOptions));
    			((AbstractOptionHandler) result).prepareForUse();
    		}
    	}
    	catch (Exception e) {
    		e.printStackTrace();
    		result = null;
    	}
    	
    	return result;
    }