Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Compiler Tree API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.source.tree
Interface LiteralTree

All Superinterfaces:
  ExpressionTree, Tree

    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 Also:
  "The Java Language Specification, 3rd ed, section 15.28"

Nested Class Summary

Nested classes/interfaces inherited from interface com.sun.source.tree.Tree
`Tree.Kind`

Method Summary
`Object` | `getValue()`

Methods inherited from interface com.sun.source.tree.Tree
`accept, getKind`

Method Detail

### getValue

    Object getValue()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Compiler Tree API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved.