Interface MethodDelegationBinder.MethodInvoker
- All Known Implementing Classes:
MethodDelegationBinder.MethodInvoker.Simple
,MethodDelegationBinder.MethodInvoker.Virtual
- Enclosing interface:
MethodDelegationBinder
public static interface MethodDelegationBinder.MethodInvoker
Implementations are used as delegates for invoking a method that was bound
using a
MethodDelegationBinder
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
A simple method invocation that merely uses the most general form of method invocation as provided byMethodInvocation
.static class
A method invocation that enforces a virtual invocation that is dispatched on a given type. -
Method Summary
Modifier and TypeMethodDescriptioninvoke
(MethodDescription methodDescription) Creates a method invocation for a given method.
-
Method Details
-
invoke
Creates a method invocation for a given method.- Parameters:
methodDescription
- The method to be invoked.- Returns:
- A stack manipulation encapsulating this method invocation.
-