src/share/classes/com/sun/tools/doclets/formats/html/AnnotationTypeWriterImpl.java

changeset 1738
6ea964c78845
parent 1736
74cd21f2c2fe
child 1935
8c55df2442c1
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/AnnotationTypeWriterImpl.java	Tue May 14 10:14:52 2013 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/AnnotationTypeWriterImpl.java	Tue May 14 10:14:52 2013 -0700
     1.3 @@ -117,8 +117,8 @@
     1.4          Content li;
     1.5          if (prev != null) {
     1.6              Content prevLink = getLink(new LinkInfoImpl(configuration,
     1.7 -                    LinkInfoImpl.Kind.CLASS, prev.asClassDoc(), "",
     1.8 -                    configuration.getText("doclet.Prev_Class"), true));
     1.9 +                    LinkInfoImpl.Kind.CLASS, prev.asClassDoc())
    1.10 +                    .label(configuration.getText("doclet.Prev_Class")).strong(true));
    1.11              li = HtmlTree.LI(prevLink);
    1.12          }
    1.13          else
    1.14 @@ -135,8 +135,8 @@
    1.15          Content li;
    1.16          if (next != null) {
    1.17              Content nextLink = getLink(new LinkInfoImpl(configuration,
    1.18 -                    LinkInfoImpl.Kind.CLASS, next.asClassDoc(), "",
    1.19 -                    configuration.getText("doclet.Next_Class"), true));
    1.20 +                    LinkInfoImpl.Kind.CLASS, next.asClassDoc())
    1.21 +                    .label(configuration.getText("doclet.Next_Class")).strong(true));
    1.22              li = HtmlTree.LI(nextLink);
    1.23          }
    1.24          else
    1.25 @@ -163,7 +163,7 @@
    1.26              div.addContent(pkgNameDiv);
    1.27          }
    1.28          LinkInfoImpl linkInfo = new LinkInfoImpl(configuration,
    1.29 -                LinkInfoImpl.Kind.CLASS_HEADER, annotationType, false);
    1.30 +                LinkInfoImpl.Kind.CLASS_HEADER, annotationType);
    1.31          Content headerContent = new StringContent(header);
    1.32          Content heading = HtmlTree.HEADING(HtmlConstants.CLASS_PAGE_HEADING, true,
    1.33                  HtmlStyle.title, headerContent);
    1.34 @@ -220,7 +220,7 @@
    1.35          addAnnotationInfo(annotationType, pre);
    1.36          pre.addContent(modifiers);
    1.37          LinkInfoImpl linkInfo = new LinkInfoImpl(configuration,
    1.38 -                LinkInfoImpl.Kind.CLASS_SIGNATURE, annotationType, false);
    1.39 +                LinkInfoImpl.Kind.CLASS_SIGNATURE, annotationType);
    1.40          Content annotationName = new StringContent(annotationType.name());
    1.41          Content parameterLinks = getTypeParameterLinks(linkInfo);
    1.42          if (configuration.linksource) {

mercurial