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,
MethodDescription instrumentedMethod,
Advice.ArgumentHandler.ForAdvice argumentHandler,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.Bound.SkipHandler skipHandler)
Applies this skip dispatcher.
|
void apply(MethodVisitor methodVisitor, MethodDescription instrumentedMethod, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.Bound.SkipHandler skipHandler)
methodVisitor
- The method visitor to write to.instrumentedMethod
- The instrumented method.argumentHandler
- A handler for accessing values on the local variable array.methodSizeHandler
- The method size handler of the advice method to use.stackMapFrameHandler
- The stack map frame handler of the advice method to use.skipHandler
- The skip handler to use.Copyright © 2014–2018. All rights reserved.