public static class Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler.Suppressing extends Object implements Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler
Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler.NoOp, Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler.Suppressing
Modifier | Constructor and Description |
---|---|
protected |
Suppressing(TypeDescription throwableType)
Creates a new suppressing suppression handler.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
hashCode() |
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.
|
String |
toString() |
protected Suppressing(TypeDescription throwableType)
throwableType
- The suppressed throwable type.public void onStart(MethodVisitor methodVisitor, Label endOfMethod)
Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler
onStart
in interface Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler
methodVisitor
- The method visitor of the instrumented method.endOfMethod
- A label indicating the end of the method.public void onEnd(MethodVisitor methodVisitor, net.bytebuddy.asm.Advice.Dispatcher.Active.ReturnValueProducer returnValueProducer)
Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler
onEnd
in interface Advice.Dispatcher.Active.CodeTranslationVisitor.SuppressionHandler
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.