Package net.bytebuddy.asm
Interface Advice.Dispatcher.RelocationHandler
-
- All Known Implementing Classes:
Advice.Dispatcher.RelocationHandler.Disabled,Advice.Dispatcher.RelocationHandler.ForType,Advice.Dispatcher.RelocationHandler.ForValue,Advice.Dispatcher.RelocationHandler.ForValue.Inverted
- Enclosing interface:
- Advice.Dispatcher
public static interface Advice.Dispatcher.RelocationHandlerA relocation handler is responsible for chaining the usual control flow of an instrumented method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAdvice.Dispatcher.RelocationHandler.BoundA boundAdvice.Dispatcher.RelocationHandler.static classAdvice.Dispatcher.RelocationHandler.DisabledA disabled relocation handler that does never trigger a relocation.static classAdvice.Dispatcher.RelocationHandler.ForTypeA relocation handler that is triggered if the checked value is an instance of a given type.static classAdvice.Dispatcher.RelocationHandler.ForValueA relocation handler that triggers a relocation for a default or non-default value.static interfaceAdvice.Dispatcher.RelocationHandler.RelocationA relocator is responsible for triggering a relocation if a relocation handler triggers a relocating condition.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Advice.Dispatcher.RelocationHandler.Boundbind(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation)Binds this relocation handler to a relocation dispatcher.
-
-
-
Method Detail
-
bind
Advice.Dispatcher.RelocationHandler.Bound bind(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation)
Binds this relocation handler to a relocation dispatcher.- Parameters:
instrumentedMethod- The instrumented method.relocation- The relocation to apply.- Returns:
- A bound relocation handler.
-
-