Package net.bytebuddy.asm
Class Advice.Dispatcher.RelocationHandler.Relocation.ForLabel
- java.lang.Object
-
- net.bytebuddy.asm.Advice.Dispatcher.RelocationHandler.Relocation.ForLabel
-
- All Implemented Interfaces:
Advice.Dispatcher.RelocationHandler.Relocation
- Enclosing interface:
- Advice.Dispatcher.RelocationHandler.Relocation
@Enhance public static class Advice.Dispatcher.RelocationHandler.Relocation.ForLabel extends java.lang.Object implements Advice.Dispatcher.RelocationHandler.Relocation
A relocation that unconditionally jumps to a given label.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.Dispatcher.RelocationHandler.Relocation
Advice.Dispatcher.RelocationHandler.Relocation.ForLabel
-
-
Field Summary
Fields Modifier and Type Field Description private org.objectweb.asm.Label
label
The label to jump to.
-
Constructor Summary
Constructors Constructor Description ForLabel(org.objectweb.asm.Label label)
Creates a new relocation for an unconditional jump to a given label.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(org.objectweb.asm.MethodVisitor methodVisitor)
Applies this relocator.
-
-
-
Method Detail
-
apply
public void apply(org.objectweb.asm.MethodVisitor methodVisitor)
Applies this relocator.- Specified by:
apply
in interfaceAdvice.Dispatcher.RelocationHandler.Relocation
- Parameters:
methodVisitor
- The method visitor to use.
-
-