public void dumpHeader(TabbedPrintWriter writer) throws java.io.IOException {
		writer.println("/* " + className + " - Decompiled by JODE");
		writer.println(" * Visit " + GlobalOptions.URL);
		writer.println(" */");
		if (pkg.length() != 0)
			writer.println("package " + pkg + ";");

		cleanUpImports();
		Iterator iter = imports.keySet().iterator();
		String lastFirstPart = null;
		while (iter.hasNext()) {
			String pkgName = (String) iter.next();
			if (!pkgName.equals("java.lang.*")) {
				int firstDot = pkgName.indexOf('.');
				if (firstDot != -1) {
					String firstPart = pkgName.substring(0, firstDot);
					if (lastFirstPart != null
							&& !lastFirstPart.equals(firstPart)) {
						writer.println("");
					}
					lastFirstPart = firstPart;
				}
				writer.println("import " + pkgName + ";");
			}
		}
		writer.println("");
	}