@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory
A factory for creating a dispatcher for a regular method invocation.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved| Modifier | Constructor and Description |
|---|---|
protected |
ForRegularInvocation(MethodDescription delegate)
Creates a dispatcher for a regular method invocation.
|
| Modifier and Type | Method and Description |
|---|---|
StackManipulation |
apply(TypeDescription receiver,
ByteCodeElement.Member original,
JavaConstant.MethodHandle methodHandle)
Creates a stack manipulation for a given substitution target.
|
StackManipulation |
initialize() |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved |
resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves a dispatcher for a given instrumented type and method.
|
protected ForRegularInvocation(MethodDescription delegate)
delegate - The delegation method.public MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
resolve in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.DispatcherinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.public StackManipulation initialize()
initialize in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolvedpublic StackManipulation apply(TypeDescription receiver, ByteCodeElement.Member original, JavaConstant.MethodHandle methodHandle)
apply in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolvedreceiver - The type upon which the substituted element is invoked upon.original - The substituted element.methodHandle - A method handle that describes the invocation.Copyright © 2014–2023. All rights reserved.