Interface DelegatingHandler.InvocationCallback
-
- Enclosing class:
- DelegatingHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface DelegatingHandler.InvocationCallback
Callback that performs a delegated method invocation and returns its concrete result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConcreteValueinvoke(MethodEntry method, ObjectInstance receiver, ConcreteValue[] args)Performs the delegated call.
-
-
-
Method Detail
-
invoke
ConcreteValue invoke(MethodEntry method, ObjectInstance receiver, ConcreteValue[] args) throws Exception
Performs the delegated call.- Parameters:
method- the method being invokedreceiver- the receiver instance, null for a static methodargs- the argument values- Returns:
- the call result, null for a void method
- Throws:
Exception- any failure, which the handler turns into a guest heap exception
-
-