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

E13403-05

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.


Nested Class Summary
 
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
 ExpressionT getLhsOperand()
           
 void setLhsOperand(ExpressionT e)
          Attempts to set the lhs operand for this expression.
 
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

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.

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

E13403-05

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