protected class Advice.Dispatcher.RelocationHandler.ForValue.Bound extends Object implements Advice.Dispatcher.RelocationHandler.Bound
Advice.Dispatcher.RelocationHandler.ForValue
.Modifier | Constructor and Description |
---|---|
protected |
Bound(MethodDescription instrumentedMethod,
Advice.Dispatcher.RelocationHandler.Relocation relocation,
boolean inverted)
Creates a new bound relocation handler.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(MethodVisitor methodVisitor,
Advice.ArgumentHandler.ForAdvice argumentHandler,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler)
Applies this relocation handler.
|
boolean |
equals(Object other) |
int |
hashCode() |
protected Bound(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation, boolean inverted)
instrumentedMethod
- The instrumented method.relocation
- The relocation to apply.inverted
- true
if the relocation should be applied for any non-default value of a type.public void apply(MethodVisitor methodVisitor, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler)
Advice.Dispatcher.RelocationHandler.Bound
apply
in interface Advice.Dispatcher.RelocationHandler.Bound
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.Copyright © 2014–2018. All rights reserved.