public static interface Advice.Dispatcher.SuppressionHandler.Bound
| Modifier and Type | Method and Description |
|---|---|
void |
onEnd(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
TypeDefinition returnType)
Invoked at the end of a method.
|
void |
onEndWithSkip(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
TypeDefinition returnType)
Invoked at the end of a method if the exception handler should be wrapped in a skipping block.
|
void |
onPrepare(MethodVisitor methodVisitor)
Invoked to prepare the suppression handler, i.e.
|
void |
onStart(MethodVisitor methodVisitor)
Invoked at the start of a method.
|
void onPrepare(MethodVisitor methodVisitor)
methodVisitor - The method visitor to apply the preparation to.void onStart(MethodVisitor methodVisitor)
methodVisitor - The method visitor of the instrumented method.void onEnd(MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDefinition returnType)
methodVisitor - The method visitor of the instrumented method.implementationContext - The implementation context to use.methodSizeHandler - The advice method's method size handler.stackMapFrameHandler - A handler for translating and injecting stack map frames.returnType - The return type of the advice method.void onEndWithSkip(MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDefinition returnType)
methodVisitor - The method visitor of the instrumented method.implementationContext - The implementation context to use.methodSizeHandler - The advice method's method size handler.stackMapFrameHandler - A handler for translating and injecting stack map frames.returnType - The return type of the advice method.Copyright © 2014–2019. All rights reserved.