protected class Advice.MetaDataHandler.Default.WithoutStackSizeComputation.ForAdvice extends Advice.MetaDataHandler.Default.ForAdvice
Advice.MetaDataHandler.Default, Advice.MetaDataHandler.ForAdvice, Advice.MetaDataHandler.ForInstrumentedMethod, Advice.MetaDataHandler.NoOpmethodDescription, requiredTypes, translationMode| Modifier | Constructor and Description |
|---|---|
protected |
ForAdvice(MethodDescription.InDefinedShape methodDescription,
TypeList requiredTypes,
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 maxStack,
int maxLocals)
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, translateFrameprotected ForAdvice(MethodDescription.InDefinedShape methodDescription, TypeList requiredTypes, List<? extends TypeDescription> yieldedTypes, Advice.MetaDataHandler.Default.TranslationMode translationMode)
methodDescription - The advice method.requiredTypes - 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 maxStack,
int maxLocals)
Advice.MetaDataHandler.ForAdvicemaxStack - The minimum required stack size.maxLocals - The minimum required length of the local variable array.Copyright © 2014–2016. All rights reserved.