Represents a method call node in the flow graph.
When control passes to a method call node, its MethodExpression is
invoked, passing any parameters. Let outcome be the value determined
by the following algorithm. If there is a null return from the invocation,
getOutcome is called. If the result is non-null, its getValue() method
is called and the value is considered to be outcome. If there is a non-null return,
let it be outcome. Convert outcome to a String by calling
its toString method. Use outcome to determine the next
node in the flow graph.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract MethodExpression | Returns: theMethodExpression to be invoked to when control passes to this nodeReturn the |
| public abstract ValueExpression | Returns: theoutcomeReturn the |
| public abstract List | Returns: the parameters to be passed to the methodReturn the parameters to be passed to the method. |
| MethodCallNode | back to summary |
|---|---|
| public MethodCallNode() | |
| getMethodExpression | back to summary |
|---|---|
| public abstract MethodExpression getMethodExpression() Return the
| |
| getOutcome | back to summary |
|---|---|
| public abstract ValueExpression getOutcome() Return the
| |
| getParameters | back to summary |
|---|---|
| public abstract List Return the parameters to be passed to the method. | |