@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.MethodInvoker.ForVirtualInvocation extends Object implements MethodCall.MethodInvoker
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodCall.MethodInvoker.ForVirtualInvocation.Factory
A method invoker factory for a virtual method invocation.
|
protected static class |
MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType
A method invoker for a virtual method that uses an implicit target type.
|
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 |
|---|---|
StackManipulation |
toStackManipulation(MethodDescription invokedMethod,
Implementation.Target implementationTarget)
Invokes the method.
|
protected ForVirtualInvocation(TypeDescription typeDescription)
typeDescription - The type description to virtually invoke the method upon.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–2023. All rights reserved.