< prev index next >

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

Print this page

        

*** 226,236 **** 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) { addSrcLink(typeElement, className, pre); pre.add(parameterLinks); } else { Content span = HtmlTree.SPAN(HtmlStyle.typeNameLabel, className); span.add(parameterLinks); --- 226,236 ---- 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.getOptions().linkSource) { addSrcLink(typeElement, className, pre); pre.add(parameterLinks); } else { Content span = HtmlTree.SPAN(HtmlStyle.typeNameLabel, className); span.add(parameterLinks);
*** 297,307 **** /** * {@inheritDoc} */ @Override public void addClassDescription(Content classInfoTree) { ! if(!configuration.nocomment) { // generate documentation for the class. if (!utils.getFullBody(typeElement).isEmpty()) { addInlineComment(typeElement, classInfoTree); } } --- 297,307 ---- /** * {@inheritDoc} */ @Override public void addClassDescription(Content classInfoTree) { ! if(!configuration.getOptions().noComment) { // generate documentation for the class. if (!utils.getFullBody(typeElement).isEmpty()) { addInlineComment(typeElement, classInfoTree); } }
*** 310,320 **** /** * {@inheritDoc} */ @Override public void addClassTagInfo(Content classInfoTree) { ! if(!configuration.nocomment) { // Print Information about all the tags here addTagsInfo(typeElement, classInfoTree); } } --- 310,320 ---- /** * {@inheritDoc} */ @Override public void addClassTagInfo(Content classInfoTree) { ! if(!configuration.getOptions().noComment) { // Print Information about all the tags here addTagsInfo(typeElement, classInfoTree); } }
< prev index next >