protected void generateClassListing() {
        Configuration config = configuration();
        if (packageDoc.isIncluded()) {
            generateClassKindListing(packageDoc.interfaces(),
                configuration.getText("doclet.Interfaces"));
            generateClassKindListing(packageDoc.ordinaryClasses(),
                configuration.getText("doclet.Classes"));
            generateClassKindListing(packageDoc.enums(),
                configuration.getText("doclet.Enums"));
            generateClassKindListing(packageDoc.exceptions(),
                configuration.getText("doclet.Exceptions"));
            generateClassKindListing(packageDoc.errors(),
                configuration.getText("doclet.Errors"));
            generateClassKindListing(packageDoc.annotationTypes(),
                configuration.getText("doclet.AnnotationTypes"));
        } else {
            String name = Util.getPackageName(packageDoc);
            generateClassKindListing(config.classDocCatalog.interfaces(name),
                configuration.getText("doclet.Interfaces"));
            generateClassKindListing(config.classDocCatalog.ordinaryClasses(name),
                configuration.getText("doclet.Classes"));
            generateClassKindListing(config.classDocCatalog.enums(name),
                configuration.getText("doclet.Enums"));
            generateClassKindListing(config.classDocCatalog.exceptions(name),
                configuration.getText("doclet.Exceptions"));
            generateClassKindListing(config.classDocCatalog.errors(name),
                configuration.getText("doclet.Errors"));
            generateClassKindListing(config.classDocCatalog.annotationTypes(name),
                configuration.getText("doclet.AnnotationTypes"));
        }
    }