Package org.sonar.plugins.java.api.tree
Interface LiteralTree
-
- All Superinterfaces:
ExpressionTree
,Tree
- All Known Implementing Classes:
LiteralTreeImpl
@Beta public interface LiteralTree extends ExpressionTree
Literal expression. JLS 15.8.1Tree.Kind.INT_LITERAL
,Tree.Kind.LONG_LITERAL
,Tree.Kind.FLOAT_LITERAL
,Tree.Kind.DOUBLE_LITERAL
,Tree.Kind.BOOLEAN_LITERAL
,Tree.Kind.CHAR_LITERAL
,Tree.Kind.STRING_LITERAL
,Tree.Kind.NULL_LITERAL
value()
- Since:
- Java 1.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyntaxToken
token()
String
value()
-
Methods inherited from interface org.sonar.plugins.java.api.tree.ExpressionTree
symbolType
-
-
-
-
Method Detail
-
value
String value()
-
token
SyntaxToken token()
-
-