if (api_name.equals("")) {
if (apiName.equals("")) {
	public static void main(String[] args) {		String pkg = "";		String input = "-";		String basedir = ".";		String api_name = "";		List imports = new LinkedList();		InputStream inputStream;		if (args.length == 0) {			usage();		}		for (int i = 0; i < args.length; i++) {			if ("-help".startsWith(args[i])) {				usage();			} else if ("-verbose".startsWith(args[i])) {				verbose = true;			} else if ("-package".startsWith(args[i])) {				pkg = args[++i];			} else if ("-basedir".startsWith(args[i])) {				basedir = args[++i];			} else if ("-import".startsWith(args[i])) {				imports.add(args[++i]);			} else if ("-input".startsWith(args[i])) {				input = args[++i];			} else if ("-folding".startsWith(args[i])) {				folding = true;			} else if ("-visitable".startsWith(args[i])) {				visitable = true;			} else if ("-jtom".startsWith(args[i])) {				jtom = true;			} else if ("-name".startsWith(args[i])) {				api_name = args[++i];			} else {				usage();			}		}		if (input.equals("-")) {			inputStream = System.in;		} else {			try {				inputStream = new FileInputStream(input);				if (api_name.equals("")) {					if (input.equals("-")) {						System.err.println("Please give a name to the API");						usage();					} else {						api_name = input.substring(0, input.lastIndexOf((int) '.'));					}				}				run(inputStream);			} catch (FileNotFoundException e) {				System.out.println("Failed to open ADT file: " + input + " for reading");				System.exit(1);			}		}	}