Interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher
- All Known Implementing Classes:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation
- Enclosing class:
MemberSubstitution.Substitution.Chain.Step.ForDelegation
protected static interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher
A dispatcher for invoking a delegation method.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA factory for creating a dispatcher.static classA method dispatcher that is using a dynamic method invocation.static classA dispatcher that invokes a delegate method directly.static interfaceA dispatcher that has been resolved for a given instrumented type and method. -
Method Summary
Modifier and TypeMethodDescriptionresolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a dispatcher for a given instrumented type and method.
-
Method Details
-
resolve
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a dispatcher for a given instrumented type and method.- Parameters:
instrumentedType- The instrumented type.instrumentedMethod- The instrumented method.- Returns:
- A resolved version of this dispatcher.
-