public static interface Advice.MetaDataHandler.ForInstrumentedMethod extends Advice.MetaDataHandler
Advice.MetaDataHandler.Default, Advice.MetaDataHandler.ForAdvice, Advice.MetaDataHandler.ForInstrumentedMethod, Advice.MetaDataHandler.NoOp
Modifier and Type | Field and Description |
---|---|
static int |
UNDEFINED_SIZE
Indicates that a size is not computed but handled directly by ASM.
|
Modifier and Type | Method and Description |
---|---|
Advice.MetaDataHandler.ForAdvice |
bindEntry(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the entry advice.
|
Advice.MetaDataHandler.ForAdvice |
bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the exit advice.
|
int |
compoundLocalVariableLength(int localVariableLength)
Computes a compound local variable array length for the advice and the translated instrumented method.
|
int |
compoundStackSize(int stackSize)
Computes a compound stack size for the advice and the translated instrumented method.
|
int |
getReaderHint()
Returns the reader hint to apply when parsing the advice method.
|
injectCompletionFrame, injectHandlerFrame, translateFrame
static final int UNDEFINED_SIZE
Advice.MetaDataHandler.ForAdvice bindEntry(MethodDescription.InDefinedShape adviceMethod)
adviceMethod
- The entry advice method.Advice.MetaDataHandler.ForAdvice bindExit(MethodDescription.InDefinedShape adviceMethod)
adviceMethod
- The exit advice method.int compoundStackSize(int stackSize)
stackSize
- The required stack size of the instrumented method before translation.int compoundLocalVariableLength(int localVariableLength)
localVariableLength
- The required local variable array length of the instrumented method before translation.int getReaderHint()
Copyright © 2014–2016. All rights reserved.