@HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields=true) protected class Advice.Dispatcher.RelocationHandler.ForType.Bound extends java.lang.Object implements Advice.Dispatcher.RelocationHandler.Bound
Advice.Dispatcher.RelocationHandler.ForType.| Modifier and Type | Field and Description |
|---|---|
private MethodDescription |
instrumentedMethod
The instrumented method.
|
private Advice.Dispatcher.RelocationHandler.Relocation |
relocation
The relocation to use.
|
NO_REQUIRED_SIZE| Modifier | Constructor and Description |
|---|---|
protected |
Bound(MethodDescription instrumentedMethod,
Advice.Dispatcher.RelocationHandler.Relocation relocation)
Creates a new bound relocation handler.
|
| Modifier and Type | Method and Description |
|---|---|
int |
apply(org.objectweb.asm.MethodVisitor methodVisitor,
int offset)
Applies this relocation handler.
|
private final MethodDescription instrumentedMethod
private final Advice.Dispatcher.RelocationHandler.Relocation relocation
protected Bound(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation)
instrumentedMethod - The instrumented method.relocation - The relocation to apply.public int apply(org.objectweb.asm.MethodVisitor methodVisitor,
int offset)
apply in interface Advice.Dispatcher.RelocationHandler.BoundmethodVisitor - The method visitor to use.offset - The offset of the relevant value.