protected static interface MethodCall.MethodInvoker
MethodCall
.Modifier and Type | Interface and Description |
---|---|
static interface |
MethodCall.MethodInvoker.Factory
A factory for creating a method invoker.
|
static class |
MethodCall.MethodInvoker.ForContextualInvocation
Applies a contextual invocation of the provided method, i.e.
|
static class |
MethodCall.MethodInvoker.ForDefaultMethodInvocation
Invokes a method as a Java 8 default method.
|
static class |
MethodCall.MethodInvoker.ForSuperMethodInvocation
Applies a super method invocation of the provided method.
|
static class |
MethodCall.MethodInvoker.ForVirtualInvocation
Applies a virtual invocation on a given type.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
toStackManipulation(MethodDescription invokedMethod,
Implementation.Target implementationTarget)
Invokes the method.
|
StackManipulation toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)
invokedMethod
- The method to be invoked.implementationTarget
- The implementation target of the instrumented instance.Copyright © 2014–2020. All rights reserved.