public static interface Advice.Dispatcher.RelocationHandler
Modifier and Type | Interface and Description |
---|---|
static interface |
Advice.Dispatcher.RelocationHandler.Bound
A bound
Advice.Dispatcher.RelocationHandler . |
static class |
Advice.Dispatcher.RelocationHandler.Disabled
A disabled relocation handler that does never trigger a relocation.
|
static class |
Advice.Dispatcher.RelocationHandler.ForType
A relocation handler that is triggered if the checked value is an instance of a given type.
|
static class |
Advice.Dispatcher.RelocationHandler.ForValue
A relocation handler that triggers a relocation for a default or non-default value.
|
static interface |
Advice.Dispatcher.RelocationHandler.Relocation
A relocator is responsible for triggering a relocation if a relocation handler triggers a relocating condition.
|
Modifier and Type | Method and Description |
---|---|
Advice.Dispatcher.RelocationHandler.Bound |
bind(MethodDescription instrumentedMethod,
Advice.Dispatcher.RelocationHandler.Relocation relocation)
Binds this relocation handler to a relocation dispatcher.
|
Advice.Dispatcher.RelocationHandler.Bound bind(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation)
instrumentedMethod
- The instrumented method.relocation
- The relocation to apply.Copyright © 2014–2018. All rights reserved.