APIdia Launch Partner
Top Description Methods
com.sun.source.doctree

public Interface LinkTree

extends InlineTagTree
Known Direct Implementers
com.sun.tools.javac.tree.DCTree.DCLink
Imports
java.util.List

A tree node for an @link or @linkplain inline tag.
   {@link reference label}
   {@linkplain reference label}
Since
1.8

Method Summary

Modifier and TypeMethod and Description
public List<? extends DocTree>

Returns:

the label
getLabel
()

Returns the label, if any, of the link.

public ReferenceTree

Returns:

the reference
getReference
()

Returns the reference of the link.

Inherited from com.sun.source.doctree.InlineTagTree:
getTagName

Method Detail

getLabelback to summary
public List<? extends DocTree> getLabel()

Returns the label, if any, of the link.

Returns:List<? extends DocTree>

the label

getReferenceback to summary
public ReferenceTree getReference()

Returns the reference of the link.

Returns:ReferenceTree

the reference