Package net.bytebuddy.asm
Interface Advice.StackMapFrameHandler.ForInstrumentedMethod
-
- All Superinterfaces:
Advice.StackMapFrameHandler
- All Known Implementing Classes:
Advice.StackMapFrameHandler.Default
,Advice.StackMapFrameHandler.NoOp
- Enclosing interface:
- Advice.StackMapFrameHandler
public static interface Advice.StackMapFrameHandler.ForInstrumentedMethod extends Advice.StackMapFrameHandler
A stack map frame handler for an instrumented method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.StackMapFrameHandler
Advice.StackMapFrameHandler.Default, Advice.StackMapFrameHandler.ForAdvice, Advice.StackMapFrameHandler.ForInstrumentedMethod, Advice.StackMapFrameHandler.NoOp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Advice.StackMapFrameHandler.ForAdvice
bindEntry(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the entry advice.Advice.StackMapFrameHandler.ForAdvice
bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the exit advice.int
getReaderHint()
Returns a hint to supply to aClassReader
when parsing an advice method.-
Methods inherited from interface net.bytebuddy.asm.Advice.StackMapFrameHandler
injectCompletionFrame, injectExceptionFrame, injectReturnFrame, translateFrame
-
-
-
-
Method Detail
-
bindEntry
Advice.StackMapFrameHandler.ForAdvice bindEntry(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the entry advice.- Parameters:
adviceMethod
- The entry advice method.- Returns:
- An appropriate meta data handler for the enter method.
-
bindExit
Advice.StackMapFrameHandler.ForAdvice bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the exit advice.- Parameters:
adviceMethod
- The exit advice method.- Returns:
- An appropriate meta data handler for the enter method.
-
getReaderHint
int getReaderHint()
Returns a hint to supply to aClassReader
when parsing an advice method.- Returns:
- The reader hint to supply to an ASM class reader.
-
-