Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.source.tree
Interface ExpressionT  view ExpressionT download ExpressionT.java

All Superinterfaces:
Tree
All Known Subinterfaces:
AnnotationExpressionT, ArrayAccessExpressionT, AssignmentExpressionT, DereferenceExpressionT, DotExpressionT, IdentifierExpressionT, InfixExpressionT, InvokeExpressionT, ListExpressionT, LiteralExpressionT, MethodCallExpressionT, NewArrayExpressionT, NewClassExpressionT, OperatorExpressionT, QuestionExpressionT, TypecastExpressionT, TypeExpressionT, UnaryExpressionT, WrapperExpressionT

public interface ExpressionT
extends Tree

Common supertypes for all expressions. If it is a primary, selector, or method invocation, it has a name. Otherwise, it is an operator of some sort and has operands. With each enumerated constant is a description of which fields are non-null and useful.


Nested Class Summary
static class ExpressionT.ExpressionKind
           
 
Field Summary
static ExpressionT[] EMPTY_ARRAY
           
 
Method Summary
 ExpressionT.ExpressionKind getExpressionKind()
          Identifies the operation this expression is performing.
 ExpressionT getFirstOperand()
           
 ExpressionT getOperandAt(int index)
          Gets the operand at the specified index in the operand array.
 int getOperandCount()
           
 java.util.List getOperands()
           
 ExpressionT getSecondOperand()
           
 ExpressionT getThirdOperand()
           
 
Methods inherited from interface javax.ide.model.java.source.tree.Tree
accept, accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Field Detail

EMPTY_ARRAY

public static final ExpressionT[] EMPTY_ARRAY
Method Detail

getExpressionKind

public ExpressionT.ExpressionKind getExpressionKind()
Identifies the operation this expression is performing.


getFirstOperand

public ExpressionT getFirstOperand()

getSecondOperand

public ExpressionT getSecondOperand()

getThirdOperand

public ExpressionT getThirdOperand()

getOperands

public java.util.List getOperands()

getOperandCount

public int getOperandCount()

getOperandAt

public ExpressionT getOperandAt(int index)
Gets the operand at the specified index in the operand array.