- 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
- See Java Language Specification:
-
15.28 Constant Expressions
- Since:
- 1.6