protected class Advice.MetaDataHandler.Default.WithStackSizeComputation.ForAdvice extends Advice.MetaDataHandler.Default.ForAdvice
Advice.MetaDataHandler.Default, Advice.MetaDataHandler.ForAdvice, Advice.MetaDataHandler.ForInstrumentedMethod, Advice.MetaDataHandler.NoOp
expectedTypes, methodDescription, translationMode
Modifier | Constructor and Description |
---|---|
protected |
ForAdvice(MethodDescription.InDefinedShape methodDescription,
TypeList expectedTypes,
List<? extends TypeDescription> yieldedTypes,
Advice.MetaDataHandler.Default.TranslationMode translationMode)
Creates a new meta data handler for an advice method.
|
Modifier and Type | Method and Description |
---|---|
void |
recordMaxima(int stackSize,
int localVariableLength)
Records the maximum values for stack size and local variable array which are required by the advice method
for its individual execution without translation.
|
String |
toString() |
injectCompletionFrame, injectHandlerFrame, translateFrame
protected ForAdvice(MethodDescription.InDefinedShape methodDescription, TypeList expectedTypes, List<? extends TypeDescription> yieldedTypes, Advice.MetaDataHandler.Default.TranslationMode translationMode)
methodDescription
- The advice method.expectedTypes
- The types that this method expects to exist in addition to the method parameter types.yieldedTypes
- The types yielded by this advice method.translationMode
- The translation mode for this meta data handler.public void recordMaxima(int stackSize, int localVariableLength)
Advice.MetaDataHandler.ForAdvice
stackSize
- The minimum required stack size.localVariableLength
- The minimum required length of the local variable array.Copyright © 2014–2016. All rights reserved.