## Uses of Interface
com.sun.source.doctree.TextTree

Packages that use TextTree
com.sun.source.doctree: Provides interfaces to represent documentation comments as abstract syntax trees (AST).
com.sun.source.util: Provides utilities for operations on abstract syntax trees (AST).

### Uses of TextTree in com.sun.source.doctree

Subinterfaces of TextTree in com.sun.source.doctree
`interface` `ErroneousTree` A tree node to stand in for a malformed text

Methods in com.sun.source.doctree that return TextTree
`TextTree` LiteralTree.`getBody()` Returns the body of the `@code` or `@literal` tag.

Methods in com.sun.source.doctree with parameters of type TextTree
`R` DocTreeVisitor.`visitText​(TextTree node, P p)` Visits a TextTree node.

### Uses of TextTree in com.sun.source.util

Methods in com.sun.source.util that return TextTree
`TextTree` DocTreeFactory.`newTextTree​(String text)` Create a new `TextTree` object, to represent some plain text.

Methods in com.sun.source.util with parameters of type TextTree
`LiteralTree` DocTreeFactory.`newCodeTree​(TextTree text)` Create a new `CodeTree` object, to represent a `{@code }` tag.
`LiteralTree` DocTreeFactory.`newLiteralTree​(TextTree text)` Create a new `LiteralTree` object, to represent a `{@literal }` tag.
`R` DocTreeScanner.`visitText​(TextTree node, P p)` Visits a TextTree node.
`R` SimpleDocTreeVisitor.`visitText​(TextTree node, P p)` Visits a TextTree node.