Uses of Interface
com.sun.source.doctree.TextTree JAVA
Packages that use 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
Subinterfaces of TextTree in com.sun.source.doctreeModifier and TypeInterfaceDescriptioninterface
A tree node to stand in for malformed text.interface
A tree node for a character represented by an escape sequence.Methods in com.sun.source.doctree that return TextTreeModifier 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.Methods in com.sun.source.doctree with parameters of type TextTree -
Uses of TextTree in com.sun.source.util
Methods in com.sun.source.util that return TextTreeModifier and TypeMethodDescriptionDocTreeFactory.newTextTree
(String text) Creates a newTextTree
object, to represent some plain text.Methods in com.sun.source.util with parameters of type TextTreeModifier 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.