@HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields=true) protected class Advice.Dispatcher.RelocationHandler.ForValue.OfNonDefault extends Object implements Advice.Dispatcher.RelocationHandler
Advice.Dispatcher.RelocationHandler.Bound, Advice.Dispatcher.RelocationHandler.Disabled, Advice.Dispatcher.RelocationHandler.ForType, Advice.Dispatcher.RelocationHandler.ForValue, Advice.Dispatcher.RelocationHandler.Relocation
Modifier | Constructor and Description |
---|---|
protected |
OfNonDefault(int index)
A relocation handler that checks if a value is a non-default value.
|
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.
|
protected OfNonDefault(int index)
index
- The index of the array returned by the advice method that contains the value to check for its value.public Advice.Dispatcher.RelocationHandler.Bound bind(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation)
bind
in interface Advice.Dispatcher.RelocationHandler
instrumentedMethod
- The instrumented method.relocation
- The relocation to apply.Copyright © 2014–2024. All rights reserved.