genImports(imports);
  private void genAlternativeClassFile(Type type, Alternative alt)  {    String class_name = buildAltClassName(type, alt);    createClassStream(class_name);        info("generating " + class_name);        genPackageDecl();    genAlternativeClass(type, alt);        stream.close();  }