public abstract class MethodCallNode extends FlowNode
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.
Constructor and Description |
---|
MethodCallNode() |
Modifier and Type | Method and Description |
---|---|
abstract MethodExpression |
getMethodExpression()
Return the |
abstract ValueExpression |
getOutcome()
Return the |
abstract List<Parameter> |
getParameters()
Return the parameters to be passed to the method. |
public abstract MethodExpression getMethodExpression()
Return the MethodExpression
to be
invoked to when control passes to this node.
MethodExpression
to be invoked to when control passes to this nodepublic abstract ValueExpression getOutcome()
Return the outcome
to be
used in the event of a null
return from the method.
outcome
Copyright © 2018 JBoss by Red Hat. All rights reserved.