Interface InvocationHandler
-
- All Known Implementing Classes:
DelegatingHandler,RecursiveHandler
public interface InvocationHandlerStrategy for executing a resolved method call, producing a result that tells the interpreter how to proceed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvocationResultinvoke(MethodEntry method, ObjectInstance receiver, ConcreteValue[] args, InvocationContext context)Executes a resolved call.
-
-
-
Method Detail
-
invoke
InvocationResult invoke(MethodEntry method, ObjectInstance receiver, ConcreteValue[] args, InvocationContext context)
Executes a resolved call.- Parameters:
method- the resolved targetreceiver- the instance for an instance call, null for a static callargs- the argument values in declaration ordercontext- the interpreter services available for the duration of the call- Returns:
- the outcome: a completed value, a guest exception, a delegation, or a frame to push
-
-