public static interface Advice.Dispatcher.Resolved.ForMethodEnter extends Advice.Dispatcher.Resolved
Modifier and Type | Interface and Description |
---|---|
static class |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
A skip dispatcher is responsible for skipping the instrumented method depending on the return value of the
enter advice method.
|
Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.OffsetMapping, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved
IGNORE_ANNOTATION, IGNORE_METHOD
Modifier and Type | Method and Description |
---|---|
Advice.Dispatcher.Bound.ForMethodEnter |
bind(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler)
Binds this dispatcher for resolution to a specific method.
|
TypeDescription |
getEnterType()
Returns the type that this dispatcher supplies as a result of its advice or a description of
void if
no type is supplied as a result of the enter advice. |
isAlive
TypeDescription getEnterType()
void
if
no type is supplied as a result of the enter advice.void
.Advice.Dispatcher.Bound.ForMethodEnter bind(MethodDescription.InDefinedShape instrumentedMethod, MethodVisitor methodVisitor, Advice.MethodSizeHandler methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler)
Advice.Dispatcher.Resolved
bind
in interface Advice.Dispatcher.Resolved
instrumentedMethod
- The instrumented method.methodVisitor
- The method visitor for writing the instrumented method.methodSizeHandler
- A handler for computing the method size requirements.stackMapFrameHandler
- A handler for translating and injecting stack map frames.Copyright © 2014–2016. All rights reserved.