public static interface Advice.Dispatcher.SuppressionHandler.Bound
Modifier and Type | Method and Description |
---|---|
void |
onEnd(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer)
Invoked at the end of a method.
|
void |
onEndSkipped(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer)
Invoked at the end of a method.
|
void |
onPrepare(org.objectweb.asm.MethodVisitor methodVisitor)
Invoked to prepare the suppression handler, i.e.
|
void |
onStart(org.objectweb.asm.MethodVisitor methodVisitor)
Invoked at the start of a method.
|
void onPrepare(org.objectweb.asm.MethodVisitor methodVisitor)
methodVisitor
- The method visitor to apply the preparation to.void onStart(org.objectweb.asm.MethodVisitor methodVisitor)
methodVisitor
- The method visitor of the instrumented method.void onEnd(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer)
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.returnValueProducer
- A producer for defining a default return value of the advised method.void onEndSkipped(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer)
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.returnValueProducer
- A producer for defining a default return value of the advised method.Copyright © 2014–2018. All rights reserved.