@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.MethodInvoker.ForSuperMethodInvocation extends java.lang.Object implements MethodCall.MethodInvoker
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MethodCall.MethodInvoker.ForSuperMethodInvocation.Factory
A method invoker factory for a super method invocation.
|
MethodCall.MethodInvoker.ForContextualInvocation, MethodCall.MethodInvoker.ForDefaultMethodInvocation, MethodCall.MethodInvoker.ForSuperMethodInvocation, MethodCall.MethodInvoker.ForVirtualInvocation
Modifier and Type | Field and Description |
---|---|
private TypeDescription |
instrumentedType
The instrumented type.
|
Modifier | Constructor and Description |
---|---|
protected |
ForSuperMethodInvocation(TypeDescription instrumentedType)
Creates a method invoker for a super method invocation.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
toStackManipulation(MethodDescription invokedMethod,
Implementation.Target implementationTarget)
Invokes the method.
|
private final TypeDescription instrumentedType
protected ForSuperMethodInvocation(TypeDescription instrumentedType)
instrumentedType
- The instrumented type.public StackManipulation toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)
toStackManipulation
in interface MethodCall.MethodInvoker
invokedMethod
- The method to be invoked.implementationTarget
- The implementation target of the instrumented instance.