Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

javax.ide.model.java.source.tree
Interface LiteralExpressionT

All Superinterfaces:
ExpressionT, Tree

public interface LiteralExpressionT
extends ExpressionT

An expression representing a lexer literal.

Class literals and this literals, though called "literal", are not here considered to be literal expressions. As a result of this definition, the value of all LiteralExpressionTs can be determined at parse-time whereas the value of class literals and this literals can only be determined at compile-time.


Nested Class Summary
static class LiteralExpressionT.LiteralKind
          In this version, this class is 1.4 compatible.
 
Nested classes/interfaces inherited from interface javax.ide.model.java.source.tree.ExpressionT
ExpressionT.ExpressionKind
 
Field Summary
 
Fields inherited from interface javax.ide.model.java.source.tree.ExpressionT
EMPTY_ARRAY
 
Method Summary
 LiteralExpressionT.LiteralKind getLiteralKind()
           
 
Methods inherited from interface javax.ide.model.java.source.tree.ExpressionT
getExpressionKind, getFirstOperand, getOperandAt, getOperandCount, getOperands, getSecondOperand, getThirdOperand
 
Methods inherited from interface javax.ide.model.java.source.tree.Tree
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Method Detail

getLiteralKind

LiteralExpressionT.LiteralKind getLiteralKind()
Returns:
The kind of literal this is. Valid values are LiteralKind.*.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.