public static interface Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
Modifier and Type | Interface and Description |
---|---|
static class |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled
A disabled skip dispatcher where the instrumented method is always executed.
|
static class |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForType
A skip dispatcher that skips a value if it is of a given instance.
|
static class |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForValue
A skip dispatcher where the instrumented method is skipped for any default value of the advice method's return type.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(MethodVisitor methodVisitor,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Bound.SkipHandler skipHandler)
Applies this skip dispatcher.
|
void apply(MethodVisitor methodVisitor, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, MethodDescription instrumentedMethod, Advice.Dispatcher.Bound.SkipHandler skipHandler)
methodVisitor
- The method visitor to write to.methodSizeHandler
- The method size handler of the advice method to use.stackMapFrameHandler
- The stack map frame handler of the advice method to use.instrumentedMethod
- The instrumented method.skipHandler
- The skip handler to use.Copyright © 2014–2017. All rights reserved.