{@link ...} and ... tags,
with support for links to program elements in @see and
{@snippet ...} tags.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Content | getInlineTagOutput(Element element, DocTree tag, TagletWriter tagletWriter)
Overrides jdk. Implements jdk. Returns the content to be included in the generated output for an instance of an inline tag handled by this taglet. |
| pack-priv Content | Returns: the output containing the generated link, or content indicating an errorthe element that has the documentation comment containing the information holder, DocTree the tree node containing the information, or refTree, String null if not availablethe normalized signature of the target of the reference refSignature, Element the target of the reference ref, boolean true if the link should be presented in "plain" font,
or false for "code" fontthe label for the link,
or an empty item to use a default label derived from the signature label, BiConsumer<String, Object[]> a function to report warnings about issues found in the reference reportWarning, TagletWriter the writer providing the context for this call tagletWriter)Worker method to generate a link from the information in different kinds of tags,
such as |
| private Content |
| LinkTaglet | back to summary |
|---|---|
| pack-priv LinkTaglet(HtmlConfiguration config, DocTree. | |
| getInlineTagOutput | back to summary |
|---|---|
| public Content getInlineTagOutput(Element element, DocTree tag, TagletWriter tagletWriter) Overrides jdk. Implements jdk. Doc from jdk. Returns the content to be included in the generated output for an instance of an inline tag handled by this taglet.
| |
| linkSeeReferenceOutput | back to summary |
|---|---|
| pack-priv Content linkSeeReferenceOutput(Element holder, DocTree refTree, String refSignature, Element ref, boolean isPlain, Content label, BiConsumer<String, Object[]> reportWarning, TagletWriter tagletWriter) Worker method to generate a link from the information in different kinds of tags,
such as
| |
| plainOrCode | back to summary |
|---|---|
| private Content plainOrCode(boolean plain, Content body) | |