List inputFiles = new LinkedList();
	public static void main(String[] args) {		List inputFiles = new LinkedList();		if (args.length == 0) {			usage();		}		params.setOutputDirectory(".");		params.setVerbose(false);		params.setFolding(false);		params.setVisitable(false);		for (int i = 0; i < args.length; i++) {			if ("--input".startsWith(args[i]) || "-i".startsWith(args[i])) {				String file = args[++i];				inputFiles.add(file);			}			else if ("--folding".startsWith(args[i]) || "-f".startsWith(args[i])) {				params.setFolding(true);			}			else if ("--output".startsWith(args[i]) || "-o".startsWith(args[i])) {				params.setOutputDirectory(args[++i]);			}			else if ("--package".startsWith(args[i]) || "-p".startsWith(args[i])) {				params.setPackageName(args[++i]);			}			else if ("--import".startsWith(args[i]) || "-m".startsWith(args[i])) {				params.addImport(args[++i]);			}			else if ("--name".startsWith(args[i]) || "-n".startsWith(args[i])) {				params.setApiName(args[++i]);			}			else if ("--visitable".startsWith(args[i]) || "-t".startsWith(args[i])) {				params.setVisitable(true);			}			else if ("--verbose".startsWith(args[i]) || "-v".startsWith(args[i])) {				params.setVerbose(true);			}			else if ("--jtom".startsWith(args[i]) || "-j".startsWith(args[i])) {				jtom = true;			}			else if ("--jtype".startsWith(args[i]) || "-J".startsWith(args[i])) {				jtype = true;			}			else if ("--help".startsWith(args[i]) || "-h".startsWith(args[i])) {				usage();				return;			}			else {				System.err.println("Error: Not a valid option " + args[i]);				usage();				return;			}		}		if (params.getApiName() == null) {			System.err.println("Error: Please give a name for the API");			usage();			return;		}		run(inputFiles);	}