@HashCodeAndEqualsPlugin.Enhance public static class Advice.Delegator.ForDynamicInvocation extends Object implements Advice.Delegator
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | Advice.Delegator.ForDynamicInvocation.FactoryA factory for creating a dynamic invocation dispatcher. | 
Advice.Delegator.ForDynamicInvocation, Advice.Delegator.ForRegularInvocation| Modifier | Constructor and Description | 
|---|---|
| protected  | ForDynamicInvocation(MethodDescription.InDefinedShape bootstrapMethod,
                    MethodDescription.InDefinedShape adviceMethod,
                    Advice.BootstrapArgumentResolver resolver)Creates a delegator for a dynamic method invocation. | 
| Modifier and Type | Method and Description | 
|---|---|
| StackManipulation | apply(TypeDescription instrumentedType,
     MethodDescription instrumentedMethod)Materializes an invocation. | 
| protected static Advice.Delegator.Factory | of(MethodDescription.InDefinedShape bootstrapMethod,
  Advice.BootstrapArgumentResolver.Factory resolverFactory)Creates a new dynamic invocation delegator. | 
protected ForDynamicInvocation(MethodDescription.InDefinedShape bootstrapMethod, MethodDescription.InDefinedShape adviceMethod, Advice.BootstrapArgumentResolver resolver)
bootstrapMethod - The bootstrap method.adviceMethod - The advice method.resolver - A resolver to provide the arguments to the bootstrap method.protected static Advice.Delegator.Factory of(MethodDescription.InDefinedShape bootstrapMethod, Advice.BootstrapArgumentResolver.Factory resolverFactory)
bootstrapMethod - The bootstrap method or constructor.resolverFactory - A resolver factory to provide the arguments to the bootstrap method.public StackManipulation apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
apply in interface Advice.DelegatorinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.Copyright © 2014–2023. All rights reserved.