public static interface Advice.StackMapFrameHandler
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
Advice.StackMapFrameHandler.Default
A default implementation of a stack map frame handler for an instrumented method. 
 | 
static interface  | 
Advice.StackMapFrameHandler.ForAdvice
A stack map frame handler for an advice method. 
 | 
static interface  | 
Advice.StackMapFrameHandler.ForInstrumentedMethod
A stack map frame handler for an instrumented method. 
 | 
static interface  | 
Advice.StackMapFrameHandler.ForPostProcessor
A stack map frame handler that can be used within a post processor. 
 | 
static class  | 
Advice.StackMapFrameHandler.NoOp
A non-operational stack map frame handler. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
injectCompletionFrame(MethodVisitor methodVisitor)
Injects a frame indicating the completion of the currently handled method, i.e. 
 | 
void | 
injectExceptionFrame(MethodVisitor methodVisitor)
Injects a frame indicating the beginning of an exception handler for the currently handled method. 
 | 
void | 
injectReturnFrame(MethodVisitor methodVisitor)
Injects a frame indicating the beginning of a return value handler for the currently handled method. 
 | 
void | 
translateFrame(MethodVisitor methodVisitor,
              int type,
              int localVariableLength,
              Object[] localVariable,
              int stackSize,
              Object[] stack)
Translates a frame. 
 | 
void translateFrame(MethodVisitor methodVisitor, int type, int localVariableLength, @MaybeNull Object[] localVariable, int stackSize, @MaybeNull Object[] stack)
methodVisitor - The method visitor to write the frame to.type - The frame's type.localVariableLength - The local variable length.localVariable - An array containing the types of the current local variables.stackSize - The size of the operand stack.stack - An array containing the types of the current operand stack.void injectReturnFrame(MethodVisitor methodVisitor)
methodVisitor - The method visitor onto which to apply the stack map frame.void injectExceptionFrame(MethodVisitor methodVisitor)
methodVisitor - The method visitor onto which to apply the stack map frame.void injectCompletionFrame(MethodVisitor methodVisitor)
methodVisitor - The method visitor onto which to apply the stack map frame.Copyright © 2014–2023. All rights reserved.