Package net.bytebuddy.asm
Class Advice.Dispatcher.RelocationHandler.ForValue.Bound
- java.lang.Object
-
- net.bytebuddy.asm.Advice.Dispatcher.RelocationHandler.ForValue.Bound
-
- All Implemented Interfaces:
Advice.Dispatcher.RelocationHandler.Bound
- Enclosing class:
- Advice.Dispatcher.RelocationHandler.ForValue
protected class Advice.Dispatcher.RelocationHandler.ForValue.Bound extends java.lang.Object implements Advice.Dispatcher.RelocationHandler.Bound
A bound relocation handler forAdvice.Dispatcher.RelocationHandler.ForValue.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBound(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation, boolean inverted)Creates a new bound relocation handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.objectweb.asm.MethodVisitor methodVisitor, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler)Applies this relocation handler.booleanequals(java.lang.Object other)inthashCode()
-
-
-
Constructor Detail
-
Bound
protected Bound(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation, boolean inverted)
Creates a new bound relocation handler.- Parameters:
instrumentedMethod- The instrumented method.relocation- The relocation to apply.inverted-trueif the relocation should be applied for any non-default value of a type.
-
-
Method Detail
-
apply
public void apply(org.objectweb.asm.MethodVisitor methodVisitor, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler)Description copied from interface:Advice.Dispatcher.RelocationHandler.BoundApplies this relocation handler.- Specified by:
applyin interfaceAdvice.Dispatcher.RelocationHandler.Bound- Parameters:
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.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-