public abstract class UnaryOperationNode extends Node
For example:
operator expressionNode expressionNode operator
| Modifier and Type | Field and Description |
|---|---|
protected Node |
operand |
protected com.sun.source.tree.UnaryTree |
tree |
| Constructor and Description |
|---|
UnaryOperationNode(com.sun.source.tree.UnaryTree tree,
Node operand) |
| Modifier and Type | Method and Description |
|---|---|
Node |
getOperand() |
java.util.Collection<Node> |
getOperands() |
com.sun.source.tree.UnaryTree |
getTree()
Returns the
Tree in the abstract syntax tree, or null if no corresponding
tree exists. |
accept, getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, isLValue, setAssignmentContext, setBlock, setInSource, setLValueprotected final com.sun.source.tree.UnaryTree tree
protected final Node operand
public UnaryOperationNode(com.sun.source.tree.UnaryTree tree,
Node operand)
public Node getOperand()
public com.sun.source.tree.UnaryTree getTree()
NodeTree in the abstract syntax tree, or null if no corresponding
tree exists. For instance, this is the case for an ImplicitThisLiteralNode.public java.util.Collection<Node> getOperands()
getOperands in class NodeNodes of this Node.