ExpressionTree
, Tree
public interface CompoundAssignmentTree extends ExpressionTree
getKind
to determine the kind of operator.
For example:
variable operator expression
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getExpression() |
Returns the expression on the right hand side of the compound assignment.
|
ExpressionTree |
getVariable() |
Returns the variable on the left hand side of the compound assignment.
|
ExpressionTree getVariable()
ExpressionTree getExpression()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1