Uses of Interface com.sun.source.doctree.TextTree (Java SE 17 & JDK 17)
Description: use: module: jdk.compiler, package: com.sun.source.doctree, interface: TextTree

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

Packages that use TextTree
Package
Description
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
  Modifier and Type
  Interface
  Description
  `interface`
  `ErroneousTree`
  A tree node to stand in for malformed text.
  Methods in com.sun.source.doctree that return TextTree
  Modifier and Type
  Method
  Description
  `TextTree`
  LiteralTree.`getBody()`
  Returns the body of the `@literal` or `@code` tag.
  Methods in com.sun.source.doctree with parameters of type TextTree
  Modifier and Type
  Method
  Description
  `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
  Modifier and Type
  Method
  Description
  `TextTree`
  DocTreeFactory.`newTextTree(String text)`
  Creates a new `TextTree` object, to represent some plain text.
  Methods in com.sun.source.util with parameters of type TextTree
  Modifier and Type
  Method
  Description
  `LiteralTree`
  DocTreeFactory.`newCodeTree(TextTree text)`
  Creates a new `LiteralTree` object, to represent a `{@code }` tag.
  `LiteralTree`
  DocTreeFactory.`newLiteralTree(TextTree text)`
  Creates 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.