public static class MethodCall.MethodInvoker.ForVirtualInvocation extends Object implements MethodCall.MethodInvoker
MethodCall.MethodInvoker.ForContextualInvocation, MethodCall.MethodInvoker.ForDefaultMethodInvocation, MethodCall.MethodInvoker.ForSuperMethodInvocation, MethodCall.MethodInvoker.ForVirtualInvocation| Modifier | Constructor and Description |
|---|---|
protected |
ForVirtualInvocation(TypeDescription typeDescription)
Creates a new method invoking for a virtual method invocation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
StackManipulation |
invoke(MethodDescription methodDescription,
Implementation.Target implementationTarget)
Invokes the method.
|
String |
toString() |
protected ForVirtualInvocation(TypeDescription typeDescription)
typeDescription - The type description to virtually invoke the method upon.public StackManipulation invoke(MethodDescription methodDescription, Implementation.Target implementationTarget)
MethodCall.MethodInvokerinvoke in interface MethodCall.MethodInvokermethodDescription - The method to be invoked.implementationTarget - The implementation target of the instrumented instance.Copyright © 2014–2015. All rights reserved.