@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher
Modifier and Type | Class and Description |
---|---|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Factory
A factory for a dynamic method invocation of the dispatcher method or constructor.
|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Resolved
A resolved dispatcher for a dynamically bound method invocation.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation
Modifier | Constructor and Description |
---|---|
protected |
ForDynamicInvocation(MethodDescription.InDefinedShape bootstrapMethod,
MethodDescription.InDefinedShape delegate,
MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver resolver)
Creates a dispatcher for a dynamic method invocation.
|
Modifier and Type | Method and Description |
---|---|
protected static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory |
of(MethodDescription.InDefinedShape bootstrapMethod,
MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Factory resolverFactory)
Creates a dispatcher factory for a dynamic method invocation.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved |
resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves a dispatcher for a given instrumented type and method.
|
protected ForDynamicInvocation(MethodDescription.InDefinedShape bootstrapMethod, MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver resolver)
bootstrapMethod
- The bootstrap method.delegate
- The delegation method.resolver
- A resolver for supplying arguments to the bootstrap method.protected static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory of(MethodDescription.InDefinedShape bootstrapMethod, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Factory resolverFactory)
bootstrapMethod
- The bootstrap method.resolverFactory
- A resolver for supplying arguments to the bootstrap method.public MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
resolve
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.Copyright © 2014–2024. All rights reserved.