public static interface Advice.StackMapFrameHandler.ForInstrumentedMethod extends Advice.StackMapFrameHandler
Advice.StackMapFrameHandler.Default, Advice.StackMapFrameHandler.ForAdvice, Advice.StackMapFrameHandler.ForInstrumentedMethod, 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
ClassReader when parsing an advice method. |
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 injectStartFrame(MethodVisitor methodVisitor)
methodVisitor - The method visitor to write any frames to.Copyright © 2014–2018. All rights reserved.