code: public static void generate(ConfigurationImpl configuration) {
          DocPath filename = DocPaths.DEPRECATED_LIST;
          try {
              DeprecatedListWriter depr =
                     new DeprecatedListWriter(configuration, filename);
              depr.generateDeprecatedListFile(
                     new DeprecatedAPIListBuilder(configuration));
              depr.close();
          } catch (IOException exc) {
              configuration.standardmessage.error(
                          "doclet.exception_encountered",
                          exc.toString(), filename);
              throw new DocletAbortException(exc);
          }
      }
docs: Get list of all the deprecated classes and members in all the Packages
  specified on the Command Line.
  Then instantiate DeprecatedListWriter and generate File.
  
  @param configuration the current configuration of the doclet.