List imports = new LinkedList();
List extra = new LinkedList();
  private void genTypeClassFile(Type type)    throws IOException  {    List imports = new LinkedList();    String class_name = buildClassName(type);        createClassStream(class_name);        info("generating " + class_name);    genPackageDecl();    imports.add("java.io.InputStream");    imports.add("java.io.IOException");    genImports(imports);    println();        genTypeClass(type);     stream.close();           genAlternativesClassesFiles(type);  }