code: public void generate(Queue<Pair<Env<AttrContext>, JCClassDecl>> queue) {
          generate(queue, null);
      }
docs: Generates the source or class file for a list of classes.
  The decision to generate a source file or a class file is
  based upon the compiler's options.
  Generation stops if an error occurs while writing files.