Package net.bytebuddy.asm
Interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved
- All Known Implementing Classes:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Resolved
,MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation
- Enclosing interface:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher
public static interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved
A dispatcher that has been resolved for a given instrumented type and method.
-
Method Summary
Modifier and TypeMethodDescriptionapply
(TypeDescription receiver, ByteCodeElement.Member original, JavaConstant.MethodHandle methodHandle) Creates a stack manipulation for a given substitution target.
-
Method Details
-
initialize
StackManipulation initialize() -
apply
StackManipulation apply(TypeDescription receiver, ByteCodeElement.Member original, JavaConstant.MethodHandle methodHandle) Creates a stack manipulation for a given substitution target.- Parameters:
receiver
- The type upon which the substituted element is invoked upon.original
- The substituted element.methodHandle
- A method handle that describes the invocation.- Returns:
- A stack manipulation that executes the represented delegation.
-