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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.objectweb.asm.MethodVisitor methodVisitor,
Advice.ArgumentHandler.ForAdvice argumentHandler,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler)
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)
Advice.Dispatcher.RelocationHandlerbind in interface Advice.Dispatcher.RelocationHandlerinstrumentedMethod - The instrumented method.relocation - The relocation to apply.public void apply(org.objectweb.asm.MethodVisitor methodVisitor,
Advice.ArgumentHandler.ForAdvice argumentHandler,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler)
Advice.Dispatcher.RelocationHandler.Boundapply in interface Advice.Dispatcher.RelocationHandler.BoundmethodVisitor - 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.Copyright © 2014–2018. All rights reserved.