protected static interface Advice.MethodSizeHandler
Modifier and Type | Interface and Description |
---|---|
static class |
Advice.MethodSizeHandler.Default
A default implementation for a method size handler.
|
static interface |
Advice.MethodSizeHandler.ForAdvice
A method size handler for an advice method.
|
static interface |
Advice.MethodSizeHandler.ForInstrumentedMethod
A method size handler for the instrumented method.
|
static class |
Advice.MethodSizeHandler.NoOp
A non-operational method size handler.
|
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 |
---|---|
void |
requireLocalVariableLength(int localVariableLength)
Requires a minimum length of the local variable array.
|
void |
requireStackSize(int stackSize)
Records a minimum stack size required by the represented advice method.
|
static final int UNDEFINED_SIZE
void requireStackSize(int stackSize)
stackSize
- The minimum size required by the represented advice method.void requireLocalVariableLength(int localVariableLength)
localVariableLength
- The minimal required length of the local variable array.Copyright © 2014–2019. All rights reserved.