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

public Interface ProvidesTree

extends BlockTagTree
Known Direct Implementers
com.sun.tools.javac.tree.DCTree.DCProvides
Imports
java.util.List

A tree node for a @provides block tag.
   @provides service-type description
Since
9

Method Summary

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

Returns:

the description
getDescription
()

Returns a description of the service type being provided by the module.

public ReferenceTree

Returns:

the name of the service type
getServiceType
()

Returns the name of the service type being documented.

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

Method Detail

getDescriptionback to summary
public List<? extends DocTree> getDescription()

Returns a description of the service type being provided by the module.

Returns:List<? extends DocTree>

the description

getServiceTypeback to summary
public ReferenceTree getServiceType()

Returns the name of the service type being documented.

Returns:ReferenceTree

the name of the service type