protected static interface Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler
Modifier and Type | Interface and Description |
---|---|
static class |
Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler.NoOp
A non-operational suppression handler that does not suppress any method.
|
static class |
Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler.Suppressing
A suppression handler that suppresses a given throwable type.
|
Modifier and Type | Method and Description |
---|---|
void |
onEnd(MethodVisitor methodVisitor,
net.bytebuddy.asm.Advice.Dispatcher.Active.ReturnValueProducer returnValueProducer)
Invoked at the end of a method.
|
void |
onStart(MethodVisitor methodVisitor,
Label endOfMethod)
Invoked at the start of a method.
|
void onStart(MethodVisitor methodVisitor, Label endOfMethod)
methodVisitor
- The method visitor of the instrumented method.endOfMethod
- A label indicating the end of the method.void onEnd(MethodVisitor methodVisitor, net.bytebuddy.asm.Advice.Dispatcher.Active.ReturnValueProducer returnValueProducer)
methodVisitor
- The method visitor of the instrumented method.returnValueProducer
- A producer for defining a default return value of the advised method.Copyright © 2014–2016. All rights reserved.