367 * @param contentTree the content tree to which the class use information will be added |
367 * @param contentTree the content tree to which the class use information will be added |
368 */ |
368 */ |
369 protected void addClassUse(PackageDoc pkg, Content contentTree) throws IOException { |
369 protected void addClassUse(PackageDoc pkg, Content contentTree) throws IOException { |
370 String classLink = getLink(new LinkInfoImpl(configuration, |
370 String classLink = getLink(new LinkInfoImpl(configuration, |
371 LinkInfoImpl.Kind.CLASS_USE_HEADER, classdoc)).toString(); |
371 LinkInfoImpl.Kind.CLASS_USE_HEADER, classdoc)).toString(); |
372 String pkgLink = getPackageLinkString(pkg, Util.escapeHtmlChars(Util.getPackageName(pkg)), false); |
372 String pkgLink = getPackageLink(pkg, Util.getPackageName(pkg)).toString(); |
373 classSubWriter.addUseInfo(pkgToClassAnnotations.get(pkg.name()), |
373 classSubWriter.addUseInfo(pkgToClassAnnotations.get(pkg.name()), |
374 configuration.getText("doclet.ClassUse_Annotation", classLink, |
374 configuration.getText("doclet.ClassUse_Annotation", classLink, |
375 pkgLink), classUseTableSummary, contentTree); |
375 pkgLink), classUseTableSummary, contentTree); |
376 classSubWriter.addUseInfo(pkgToClassTypeParameter.get(pkg.name()), |
376 classSubWriter.addUseInfo(pkgToClassTypeParameter.get(pkg.name()), |
377 configuration.getText("doclet.ClassUse_TypeParameter", classLink, |
377 configuration.getText("doclet.ClassUse_TypeParameter", classLink, |