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 aMethodDelegationBinder
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MethodDelegationBinder.MethodInvoker.Simple
A simple method invocation that merely uses the most general form of method invocation as provided byMethodInvocation
.static class
MethodDelegationBinder.MethodInvoker.Virtual
A method invocation that enforces a virtual invocation that is dispatched on a given type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackManipulation
invoke(MethodDescription methodDescription)
Creates a method invocation for a given method.
-
-
-
Method Detail
-
invoke
StackManipulation invoke(MethodDescription methodDescription)
Creates a method invocation for a given method.- Parameters:
methodDescription
- The method to be invoked.- Returns:
- A stack manipulation encapsulating this method invocation.
-
-