protected static interface MethodCall.MethodInvoker
MethodCall
.Modifier and Type | Interface and Description |
---|---|
static class |
MethodCall.MethodInvoker.ForDefaultMethodInvocation
Invokes a method as a Java 8 default method.
|
static class |
MethodCall.MethodInvoker.ForStandardInvocation
Applies a standard invocation of the provided method, i.e.
|
static class |
MethodCall.MethodInvoker.ForSuperMethodInvocation
Applies a super method invocation of the provided method.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
invoke(MethodDescription methodDescription,
Instrumentation.Target instrumentationTarget)
Invokes the method.
|
StackManipulation invoke(MethodDescription methodDescription, Instrumentation.Target instrumentationTarget)
methodDescription
- The method to be invoked.instrumentationTarget
- The instrumentation target of the instrumented instance.Copyright © 2014–2015. All rights reserved.