ExpressionTree
, Tree
public interface LiteralTree extends ExpressionTree
getKind
to determine the kind of literal.
For example:
value
Modifier and Type | Method | Description |
---|---|---|
Object |
getValue() |
Returns the value of the literal expression.
|
Object getValue()
null
.
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1