com.sun.source.tree

## Interface LiteralTree

- All Superinterfaces:
    ExpressionTree, Tree

      @Exported
      public interface LiteralTree
      extends ExpressionTree

  A tree node for a literal expression. Use `getKind` to determine the kind of literal. For example:

         value

  Since:
    1.6
  See The Java™ Language Specification:
    section 15.28

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.sun.source.tree.Tree

      `Tree.Kind`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getValue()`

    - ### Methods inherited from interface com.sun.source.tree.Tree

      `accept, getKind`

- - ### Method Detail

    - #### getValue

          Object getValue()

Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved.