protected static class Advice.Dispatcher.Active.SuppressionHandler.Suppressing.Bound extends Object implements Advice.Dispatcher.Active.SuppressionHandler.Bound
| Modifier | Constructor and Description |
|---|---|
protected |
Bound(TypeDescription throwableType)
Creates a new active, bound suppression handler.
|
| 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.
|
String |
toString() |
protected Bound(TypeDescription throwableType)
throwableType - The suppressed throwable type.public 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.Copyright © 2014–2016. All rights reserved.