< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ClassWriterImpl.java

Print this page

        

@@ -218,11 +218,11 @@
                 LinkInfoImpl.Kind.CLASS_SIGNATURE, typeElement);
         //Let's not link to ourselves in the signature.
         linkInfo.linkToSelf = false;
         Content className = new StringContent(utils.getSimpleName(typeElement));
         Content parameterLinks = getTypeParameterLinks(linkInfo);
-        if (configuration.linksource) {
+        if (configuration.getOptions().linkSource) {
             addSrcLink(typeElement, className, pre);
             pre.add(parameterLinks);
         } else {
             Content span = HtmlTree.SPAN(HtmlStyle.typeNameLabel, className);
             span.add(parameterLinks);

@@ -289,11 +289,11 @@
     /**
      * {@inheritDoc}
      */
     @Override
     public void addClassDescription(Content classInfoTree) {
-        if(!configuration.nocomment) {
+        if(!configuration.getOptions().noComment) {
             // generate documentation for the class.
             if (!utils.getFullBody(typeElement).isEmpty()) {
                 addInlineComment(typeElement, classInfoTree);
             }
         }

@@ -302,11 +302,11 @@
     /**
      * {@inheritDoc}
      */
     @Override
     public void addClassTagInfo(Content classInfoTree) {
-        if(!configuration.nocomment) {
+        if(!configuration.getOptions().noComment) {
             // Print Information about all the tags here
             addTagsInfo(typeElement, classInfoTree);
         }
     }
 
< prev index next >