@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.MethodInvoker.ForContextualInvocation extends Object implements MethodCall.MethodInvoker
MethodCall.MethodInvoker.ForContextualInvocation, MethodCall.MethodInvoker.ForDefaultMethodInvocation, MethodCall.MethodInvoker.ForSuperMethodInvocation, MethodCall.MethodInvoker.ForVirtualInvocation| Modifier | Constructor and Description | 
|---|---|
protected  | 
ForContextualInvocation(TypeDescription instrumentedType)
Creates a new method invoker for a contextual invocation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StackManipulation | 
toStackManipulation(MethodDescription invokedMethod,
                   Implementation.Target implementationTarget)
Invokes the method. 
 | 
protected ForContextualInvocation(TypeDescription instrumentedType)
instrumentedType - The instrumented type.public StackManipulation toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)
toStackManipulation in interface MethodCall.MethodInvokerinvokedMethod - The method to be invoked.implementationTarget - The implementation target of the instrumented instance.Copyright © 2014–2024. All rights reserved.