writeSchemaSegment(out, cu.getRootScope());
ArrayList allSymbols = cu.getRootScope().getAllSymbols(); writeSchemaSegment(out, allSymbols); writeImportSegment(out, allSymbols); writeExportSegment(out, allSymbols);
	public CompileUnit build() throws IOException, RefactorException {		_refresh();		CompileUnit cu = new CompileUnit(cuFile, null, CompileUnit.DEFAULT);		cu.treeParser01();		pubFile.getParentFile().mkdirs();		OutputStream fileOut = new BufferedOutputStream(new FileOutputStream(pubFile));		ObjectOutputStream out = new ObjectOutputStream(fileOut);		writeVersion(out);		writeFileIndex(out);		writeSchemaSegment(out, cu.getRootScope());		out.close();		return cu;	}