code: public boolean isGeneratedDoc(ClassDoc cd) {
          if (!nodeprecated) {
              return true;
          }
          return !(utils.isDeprecated(cd) || utils.isDeprecated(cd.containingPackage()));
      }
docs: Return true if the ClassDoc element is getting documented, depending upon
  -nodeprecated option and the deprecation information. Return true if
  -nodeprecated is not used. Return false if -nodeprecated is used and if
  either ClassDoc element is deprecated or the containing package is deprecated.
  
  @param cd the ClassDoc for which the page generation is checked