private void handleSeeTag(TagElement tag) { handleLink(tag.fragments()); }
private void handleThrowsTag(TagElement tag) { List<? extends ASTNode> fragments= tag.fragments(); int size= fragments.size(); if (size > 0) { handleLink(fragments.subList(0, 1)); if (size > 1) { fBuf.append(JavaElementLabels.CONCAT_STRING); handleContentElements(fragments.subList(1, size)); } } }
private void handleSeeTag(TagElement tag) { handleLink(tag.fragments()); }
private void handleThrowsTag(TagElement tag) { List<? extends ASTNode> fragments= tag.fragments(); int size= fragments.size(); if (size > 0) { handleLink(fragments.subList(0, 1)); if (size > 1) { fBuf.append(JavaElementLabels.CONCAT_STRING); handleContentElements(fragments.subList(1, size)); } } }
private void handleExceptionTags(List<TagElement> tags, List<String> exceptionNames, CharSequence[] exceptionDescriptions) { if (tags.size() == 0 && containsOnlyNull(exceptionNames)) return; handleBlockTagTitle(JavaDocMessages.JavaDoc2HTMLTextReader_throws_section); for (Iterator<TagElement> iter= tags.iterator(); iter.hasNext(); ) { TagElement tag= iter.next(); fBuf.append(BlOCK_TAG_ENTRY_START); handleThrowsTag(tag); fBuf.append(BlOCK_TAG_ENTRY_END); } for (int i= 0; i < exceptionDescriptions.length; i++) { CharSequence description= exceptionDescriptions[i]; String name= exceptionNames.get(i); if (name != null) { fBuf.append(BlOCK_TAG_ENTRY_START); handleLink(Collections.singletonList(fJavadoc.getAST().newSimpleName(name))); if (description != null) { fBuf.append(JavaElementLabels.CONCAT_STRING); fBuf.append(description); } fBuf.append(BlOCK_TAG_ENTRY_END); } } }
private void handleExceptionTags(List<TagElement> tags, List<String> exceptionNames, CharSequence[] exceptionDescriptions) { if (tags.size() == 0 && containsOnlyNull(exceptionNames)) return; handleBlockTagTitle(JavaDocMessages.JavaDoc2HTMLTextReader_throws_section); for (Iterator<TagElement> iter= tags.iterator(); iter.hasNext(); ) { TagElement tag= iter.next(); fBuf.append(BlOCK_TAG_ENTRY_START); handleThrowsTag(tag); fBuf.append(BlOCK_TAG_ENTRY_END); } for (int i= 0; i < exceptionDescriptions.length; i++) { CharSequence description= exceptionDescriptions[i]; String name= exceptionNames.get(i); if (name != null) { fBuf.append(BlOCK_TAG_ENTRY_START); handleLink(Collections.singletonList(fJavadoc.getAST().newSimpleName(name))); if (description != null) { fBuf.append(JavaElementLabels.CONCAT_STRING); fBuf.append(description); } fBuf.append(BlOCK_TAG_ENTRY_END); } } }
handleLink(node.fragments()); else if (isCode || isLiteral) handleContentElements(node.fragments(), true);
handleLink(node.fragments()); else if (isCode || isLiteral) handleContentElements(node.fragments(), true);