public static enum Advice.Dispatcher.Active.SuppressionHandler.NoOp extends Enum<Advice.Dispatcher.Active.SuppressionHandler.NoOp> implements Advice.Dispatcher.Active.SuppressionHandler, Advice.Dispatcher.Active.SuppressionHandler.Bound
Advice.Dispatcher.Active.SuppressionHandler.Bound, Advice.Dispatcher.Active.SuppressionHandler.NoOp, Advice.Dispatcher.Active.SuppressionHandler.Suppressing| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
Advice.Dispatcher.Active.SuppressionHandler.Bound |
bind()
Binds the supression handler for instrumenting a specific method.
|
void |
onEnd(MethodVisitor methodVisitor,
Advice.MetaDataHandler.ForAdvice metaDataHandler,
net.bytebuddy.asm.Advice.Dispatcher.Active.ReturnValueProducer returnValueProducer)
Invoked at the end of a method.
|
void |
onPrepare(MethodVisitor methodVisitor)
Invoked to prepare the suppression handler, i.e. to write an exception handler entry if appropriate.
|
void |
onStart(MethodVisitor methodVisitor,
Advice.MetaDataHandler.ForAdvice metaDataHandler)
Invoked at the start of a method.
|
String |
toString() |
static Advice.Dispatcher.Active.SuppressionHandler.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.Dispatcher.Active.SuppressionHandler.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.Dispatcher.Active.SuppressionHandler.NoOp INSTANCE
public static Advice.Dispatcher.Active.SuppressionHandler.NoOp[] values()
for (Advice.Dispatcher.Active.SuppressionHandler.NoOp c : Advice.Dispatcher.Active.SuppressionHandler.NoOp.values()) System.out.println(c);
public static Advice.Dispatcher.Active.SuppressionHandler.NoOp 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.Active.SuppressionHandler.Bound bind()
Advice.Dispatcher.Active.SuppressionHandlerbind in interface Advice.Dispatcher.Active.SuppressionHandlerpublic void onPrepare(MethodVisitor methodVisitor)
Advice.Dispatcher.Active.SuppressionHandler.BoundonPrepare in interface Advice.Dispatcher.Active.SuppressionHandler.BoundmethodVisitor - The method visitor to apply the preparation to.public void onStart(MethodVisitor methodVisitor, Advice.MetaDataHandler.ForAdvice metaDataHandler)
Advice.Dispatcher.Active.SuppressionHandler.BoundonStart in interface Advice.Dispatcher.Active.SuppressionHandler.BoundmethodVisitor - The method visitor of the instrumented method.metaDataHandler - The meta data handler to use for translating meta data.public void onEnd(MethodVisitor methodVisitor, Advice.MetaDataHandler.ForAdvice metaDataHandler, net.bytebuddy.asm.Advice.Dispatcher.Active.ReturnValueProducer returnValueProducer)
Advice.Dispatcher.Active.SuppressionHandler.BoundonEnd in interface Advice.Dispatcher.Active.SuppressionHandler.BoundmethodVisitor - The method visitor of the instrumented method.metaDataHandler - The meta data handler to use for translating meta data.returnValueProducer - A producer for defining a default return value of the advised method.public String toString()
toString in class Enum<Advice.Dispatcher.Active.SuppressionHandler.NoOp>Copyright © 2014–2016. All rights reserved.