Package net.bytebuddy.asm
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 interface
A factory for creating a dispatcher.static class
A method dispatcher that is using a dynamic method invocation.static class
A dispatcher that invokes a delegate method directly.static interface
A 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.
-