javax.ide.model.java.source.tree
Interface DereferenceExpressionT
- All Superinterfaces: 
- ExpressionT, OperatorExpressionT, Tree
- All Known Subinterfaces: 
- ArrayAccessExpressionT, DotExpressionT, InvokeExpressionT, MethodCallExpressionT, NewClassExpressionT
- public interface DereferenceExpressionT 
- extends OperatorExpressionT
Common supertype for expressions performing dereference operations.
 The three dereference expressions are: array access, method call,
 and dot dereference. 
 
 
 
 
 
 
| 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 | 
 
getLhsOperand
ExpressionT getLhsOperand()
- 
 
- 
- Returns:
- The lhs operand of this dereference. Null if none.
 If this is a dot dereference... well, you can figure that one out.
 If this is an array access, the lhs operand will be the array variable.
 If this is a method call, the lhs operand is optional.
 If this is a class creator, the lhs operand is optional. If there
 is a lhs operand, it means that this is a qualified class creator and
 the lhs operand is the outer class instance being used.
 
setLhsOperand
void setLhsOperand(ExpressionT e)
- Attempts to set the lhs operand for this expression.
 
- 
 
- 
- Parameters:
- e- If null, then this will remove the lhs operand (legal
 only for method calls).
- Throws:
- java.lang.UnsupportedOperationException- if this operation is illegal.
 
Copyright © 1997, 2013, Oracle. All rights reserved.