IdentifierTree (Java SE 23 & JDK 23)
Description: declaration: module: jdk.compiler, package: com.sun.source.doctree, interface: IdentifierTree
Keywords: com.sun.source.doctree.IdentifierTree interface

# Interface IdentifierTree

All Superinterfaces:
  `DocTree`

public interface IdentifierTree extends DocTree
An identifier in a documentation comment.

        name

Since:
  1.8

- ## Nested Class Summary

  ### Nested classes/interfaces declared in interface com.sun.source.doctree.DocTree

  `DocTree.Kind`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Name`
  `getName()`
  Returns the name of the identifier.

  ### Methods declared in interface com.sun.source.doctree.DocTree

  `accept, getKind`

- ## Method Details

  - ### getName

    Name getName()
    Returns the name of the identifier.
    Returns:
      the name