public static enum Advice.Dispatcher.RelocationHandler.Disabled extends Enum<Advice.Dispatcher.RelocationHandler.Disabled> implements Advice.Dispatcher.RelocationHandler, Advice.Dispatcher.RelocationHandler.Bound
Advice.Dispatcher.RelocationHandler.Bound, Advice.Dispatcher.RelocationHandler.Disabled, Advice.Dispatcher.RelocationHandler.ForType, Advice.Dispatcher.RelocationHandler.ForValue, Advice.Dispatcher.RelocationHandler.Relocation
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
NO_REQUIRED_SIZE
Modifier and Type | Method and Description |
---|---|
int |
apply(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
int offset)
Applies this relocation handler.
|
Advice.Dispatcher.RelocationHandler.Bound |
bind(MethodDescription instrumentedMethod,
Advice.Dispatcher.RelocationHandler.Relocation relocation)
Binds this relocation handler to a relocation dispatcher.
|
static Advice.Dispatcher.RelocationHandler.Disabled |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.Dispatcher.RelocationHandler.Disabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.Dispatcher.RelocationHandler.Disabled INSTANCE
public static Advice.Dispatcher.RelocationHandler.Disabled[] values()
for (Advice.Dispatcher.RelocationHandler.Disabled c : Advice.Dispatcher.RelocationHandler.Disabled.values()) System.out.println(c);
public static Advice.Dispatcher.RelocationHandler.Disabled valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic 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.public int apply(MethodVisitor methodVisitor, Implementation.Context implementationContext, int offset)
apply
in interface Advice.Dispatcher.RelocationHandler.Bound
methodVisitor
- The method visitor to use.implementationContext
- The implementation context to use.offset
- The offset of the relevant value.Copyright © 2014–2025. All rights reserved.