code: public ClassDoc[] classes() {
          ListBuffer<ClassDocImpl> classesToDocument = new ListBuffer<>();
          for (ClassDocImpl cd : cmdLineClasses) {
              cd.addAllClasses(classesToDocument, true);
          }
          for (PackageDocImpl pd : cmdLinePackages) {
              pd.addAllClassesTo(classesToDocument);
          }
          return classesToDocument.toArray(new ClassDocImpl[classesToDocument.length()]);
      }
docs: Return all classes and interfaces (including those inside
  packages) to be documented.