protected static class Advice.Dispatcher.SuppressionHandler.Suppressing.Bound extends Object implements Advice.Dispatcher.SuppressionHandler.Bound
| Modifier | Constructor and Description |
|---|---|
protected |
Bound(TypeDescription suppressedType)
Creates a new active, bound suppression handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onEnd(MethodVisitor methodVisitor,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer)
Invoked at the end of a method.
|
void |
onEndSkipped(MethodVisitor methodVisitor,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.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.MethodSizeHandler.ForAdvice methodSizeHandler)
Invoked at the start of a method.
|
String |
toString() |
protected Bound(TypeDescription suppressedType)
suppressedType - The suppressed throwable type.public void onPrepare(MethodVisitor methodVisitor)
Advice.Dispatcher.SuppressionHandler.BoundonPrepare in interface Advice.Dispatcher.SuppressionHandler.BoundmethodVisitor - The method visitor to apply the preparation to.public void onStart(MethodVisitor methodVisitor, Advice.MethodSizeHandler.ForAdvice methodSizeHandler)
Advice.Dispatcher.SuppressionHandler.BoundonStart in interface Advice.Dispatcher.SuppressionHandler.BoundmethodVisitor - The method visitor of the instrumented method.methodSizeHandler - A handler for computing the method size requirements.public void onEnd(MethodVisitor methodVisitor, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer)
Advice.Dispatcher.SuppressionHandler.BoundonEnd in interface Advice.Dispatcher.SuppressionHandler.BoundmethodVisitor - The method visitor of the instrumented method.stackMapFrameHandler - A handler for translating and injecting stack map frames.returnValueProducer - A producer for defining a default return value of the advised method.public void onEndSkipped(MethodVisitor methodVisitor, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer)
Advice.Dispatcher.SuppressionHandler.BoundonEndSkipped in interface Advice.Dispatcher.SuppressionHandler.BoundmethodVisitor - The method visitor of the instrumented method.stackMapFrameHandler - A handler for translating and injecting stack map frames.returnValueProducer - A producer for defining a default return value of the advised method.Copyright © 2014–2016. All rights reserved.