Package net.bytebuddy.asm
Class Advice.Dispatcher.RelocationHandler.ForType.Bound
- java.lang.Object
-
- net.bytebuddy.asm.Advice.Dispatcher.RelocationHandler.ForType.Bound
-
- All Implemented Interfaces:
Advice.Dispatcher.RelocationHandler.Bound
- Enclosing class:
- Advice.Dispatcher.RelocationHandler.ForType
protected static class Advice.Dispatcher.RelocationHandler.ForType.Bound extends java.lang.Object implements Advice.Dispatcher.RelocationHandler.Bound
A bound relocation handler forAdvice.Dispatcher.RelocationHandler.ForType
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Bound(TypeDescription typeDescription, MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation)
Creates a new bound relocation handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(org.objectweb.asm.MethodVisitor methodVisitor, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler)
Applies this relocation handler.
-
-
-
Constructor Detail
-
Bound
protected Bound(TypeDescription typeDescription, MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation)
Creates a new bound relocation handler.- Parameters:
typeDescription
- The type that triggers a relocation.instrumentedMethod
- The instrumented method.relocation
- The relocation to apply.
-
-
Method Detail
-
apply
public void apply(org.objectweb.asm.MethodVisitor methodVisitor, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler)
Description copied from interface:Advice.Dispatcher.RelocationHandler.Bound
Applies this relocation handler.- Specified by:
apply
in interfaceAdvice.Dispatcher.RelocationHandler.Bound
- Parameters:
methodVisitor
- The method visitor to use.argumentHandler
- The argument handler to use.methodSizeHandler
- The method size handler to use.stackMapFrameHandler
- The stack map frame handler to use.
-
-