for (int i = 0; i < unit.body.length; i++) { Tree tree = unit.body[i]; Symbol sym = tree.symbol();
for (int i = 0; i < unit.body.length; i++) { Tree tree = unit.body[i]; Symbol sym = tree.symbol(); try {
    public void apply(CompilationUnit unit) {	currUnit = unit;// 	try {	    for (int i = 0; i < unit.body.length; i++) {		Tree tree = unit.body[i];		Symbol sym = tree.symbol();		switch (tree) {		case Empty: break;		case ClassDef(_, _, _, _, _, Template(_, Tree[] body)):		    genClass(sym, body);		    break;		case PackageDef(_, Template(_ , Tree[] body)):		    genPackage(body);		    break;		default:		    throw Debug.abort			("Illegal top-level definition: " + Debug.show(tree));		}	    }// 	} catch (Throwable e) {// 	    e.printStackTrace();// 	    finalizeGen();// 	    System.exit(1);// 	}    }