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

Module jdk.compiler
Package com.sun.source.doctree

# Interface ValueTree

All Superinterfaces:
  `DocTree`, `InlineTagTree`

public interface ValueTree extends InlineTagTree
A tree node for an `@value` inline tag.

        {@value reference}

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
  `ReferenceTree`
  `getReference()`
  Returns the reference to the value.

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

  `accept, getKind`

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

  `getTagName`

- ## Method Details

  - ### getReference

    ReferenceTree getReference()
    Returns the reference to the value.
    Returns:
      the reference