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,
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.
|
void onPrepare(MethodVisitor methodVisitor)
methodVisitor - The method visitor to apply the preparation to.void onStart(MethodVisitor methodVisitor, Advice.MetaDataHandler.ForAdvice metaDataHandler)
methodVisitor - The method visitor of the instrumented method.metaDataHandler - The meta data handler to use for translating meta data.void onEnd(MethodVisitor methodVisitor, Advice.MetaDataHandler.ForAdvice metaDataHandler, net.bytebuddy.asm.Advice.Dispatcher.Active.ReturnValueProducer returnValueProducer)
methodVisitor - 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.Copyright © 2014–2016. All rights reserved.