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 this literal.
|
accept, getEndPosition, getKind, getStartPosition
Object getValue()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b148-1