Uses of Interface
com.sun.source.doctree.TextTree
Package
Description
Provides interfaces to represent documentation comments as abstract syntax
trees (AST).
Provides utilities for operations on abstract syntax trees (AST).
-
Uses of TextTree in com.sun.source.doctree
Modifier and TypeInterfaceDescriptioninterface
A tree node to stand in for malformed text.Modifier and TypeMethodDescriptionLiteralTree.getBody()
Returns the body of the@literal
or@code
tag.SnippetTree.getBody()
Returns the body of the@snippet
tag, ornull
if there is no body.default TextTree
ValueTree.getFormat()
Returns the format string, ornull
if none was provided.SpecTree.getURL()
Returns the URL. -
Uses of TextTree in com.sun.source.util
Modifier and TypeMethodDescriptionDocTreeFactory.newTextTree
(String text) Creates a newTextTree
object, to represent some plain text.Modifier and TypeMethodDescriptionDocTreeFactory.newCodeTree
(TextTree text) Creates a newLiteralTree
object, to represent a{@code }
tag.DocTreeFactory.newLiteralTree
(TextTree text) Creates a newLiteralTree
object, to represent a{@literal }
tag.DocTreeFactory.newSnippetTree
(List<? extends DocTree> attributes, TextTree text) Creates a newSnippetTree
object, to represent a{@snippet }
tag.DocTreeFactory.newSpecTree
(TextTree url, List<? extends DocTree> title) Creates a newSpecTree
object, to represent an@spec
tag.default ValueTree
DocTreeFactory.newValueTree
(TextTree format, ReferenceTree ref) Creates a newValueTree
object, to represent a{@value }
tag.Visits aTextTree
node.Visits aTextTree
node.