public static interface Advice.StackMapFrameHandler.ForInstrumentedMethod extends Advice.StackMapFrameHandler
Advice.StackMapFrameHandler.Default, Advice.StackMapFrameHandler.ForAdvice, Advice.StackMapFrameHandler.ForInstrumentedMethod, Advice.StackMapFrameHandler.ForPostProcessor, Advice.StackMapFrameHandler.NoOp| Modifier and Type | Method and Description | 
|---|---|
| Advice.StackMapFrameHandler.ForAdvice | bindEnter(MethodDescription.InDefinedShape adviceMethod)Binds this meta data handler for the enter advice. | 
| Advice.StackMapFrameHandler.ForAdvice | bindExit(MethodDescription.InDefinedShape adviceMethod)Binds this meta data handler for the exit advice. | 
| int | getReaderHint()Returns a hint to supply to a  ClassReaderwhen parsing an advice method. | 
| void | injectInitializationFrame(MethodVisitor methodVisitor)Injects a frame after initialization if any initialization is performed. | 
| void | injectPostCompletionFrame(MethodVisitor methodVisitor)Injects a frame indicating the completion of the currently handled method, i.e. | 
| void | injectStartFrame(MethodVisitor methodVisitor)Injects a frame before executing the instrumented method. | 
injectCompletionFrame, injectExceptionFrame, injectReturnFrame, translateFrameAdvice.StackMapFrameHandler.ForAdvice bindEnter(MethodDescription.InDefinedShape adviceMethod)
adviceMethod - The enter advice method.Advice.StackMapFrameHandler.ForAdvice bindExit(MethodDescription.InDefinedShape adviceMethod)
adviceMethod - The exit advice method.int getReaderHint()
ClassReader when parsing an advice method.void injectInitializationFrame(MethodVisitor methodVisitor)
methodVisitor - The method visitor to write any frames to.void injectStartFrame(MethodVisitor methodVisitor)
methodVisitor - The method visitor to write any frames to.void injectPostCompletionFrame(MethodVisitor methodVisitor)
methodVisitor - The method visitor onto which to apply the stack map frame.Copyright © 2014–2024. All rights reserved.