code: public static void generate(ConfigurationImpl configuration,
                                  IndexBuilder indexbuilder) {
          AllClassesFrameWriter allclassgen;
          DocPath filename = DocPaths.ALLCLASSES_FRAME;
          try {
              allclassgen = new AllClassesFrameWriter(configuration,
                                                      filename, indexbuilder);
              allclassgen.buildAllClassesFile(true);
              allclassgen.close();
              filename = DocPaths.ALLCLASSES_NOFRAME;
              allclassgen = new AllClassesFrameWriter(configuration,
                                                      filename, indexbuilder);
              allclassgen.buildAllClassesFile(false);
              allclassgen.close();
          } catch (IOException exc) {
              configuration.standardmessage.
                       error("doclet.exception_encountered",
                             exc.toString(), filename);
              throw new DocletAbortException(exc);
          }
      }
docs: Create AllClassesFrameWriter object. Then use it to generate the
  "allclasses-frame.html" file. Generate the file in the current or the
  destination directory.
  
  @param indexbuilder IndexBuilder object for all classes index.
  @throws DocletAbortException