public static interface Advice.Dispatcher.Resolved.ForMethodEnter extends Advice.Dispatcher.Resolved
| Modifier and Type | Interface and Description |
|---|---|
static interface |
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.ForMethodExitAdvice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.OffsetMapping, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.UnresolvedIGNORE_ANNOTATION, IGNORE_METHOD| Modifier and Type | Method and Description |
|---|---|
Advice.Dispatcher.Bound.ForMethodEnter |
bind(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler.ForInstrumentedMethod 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. |
boolean |
isPrependLineNumber()
Returns
true if the first discovered line number information should be prepended to the advice code. |
isAliveTypeDescription getEnterType()
void if
no type is supplied as a result of the enter advice.void.boolean isPrependLineNumber()
true if the first discovered line number information should be prepended to the advice code.true if the first discovered line number information should be prepended to the advice code.Advice.Dispatcher.Bound.ForMethodEnter bind(MethodDescription.InDefinedShape instrumentedMethod, MethodVisitor methodVisitor, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler)
Advice.Dispatcher.Resolvedbind in interface Advice.Dispatcher.ResolvedinstrumentedMethod - 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.