Uses of Interface
com.sun.source.doctree.TextTree
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 TypeInterfaceDescriptioninterfaceA tree node to stand in for malformed text.interfaceA 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@literalor@codetag.SnippetTree.getBody()Returns the body of the@snippettag, ornullif there is no body.default TextTreeValueTree.getFormat()Returns the format string, ornullif 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 newTextTreeobject, to represent some plain text.Methods in com.sun.source.util with parameters of type TextTreeModifier and TypeMethodDescriptionDocTreeFactory.newCodeTree(TextTree text) Creates a newLiteralTreeobject, to represent a{@code }tag.DocTreeFactory.newLiteralTree(TextTree text) Creates a newLiteralTreeobject, to represent a{@literal }tag.DocTreeFactory.newSnippetTree(List<? extends DocTree> attributes, TextTree text) Creates a newSnippetTreeobject, to represent a{@snippet }tag.DocTreeFactory.newSpecTree(TextTree url, List<? extends DocTree> title) Creates a newSpecTreeobject, to represent an@spectag.default ValueTreeDocTreeFactory.newValueTree(TextTree format, ReferenceTree ref) Creates a newValueTreeobject, to represent a{@value }tag.Visits aTextTreenode.Visits aTextTreenode.