public static interface Advice.Dispatcher.Resolved.ForMethodExit extends Advice.Dispatcher.Resolved
Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.UnresolvedIGNORE_ANNOTATION, IGNORE_METHOD| Modifier and Type | Method and Description |
|---|---|
Advice.Dispatcher.Bound.ForMethodExit |
bind(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler,
Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
StackManipulation exceptionHandler)
Binds this dispatcher for resolution to a specific method.
|
Advice.ArgumentHandler.Factory |
getArgumentHandlerFactory()
Returns a factory for creating an
Advice.ArgumentHandler. |
TypeDescription |
getThrowable()
Returns the type of throwable for which this exit advice is supposed to be invoked.
|
isAliveTypeDescription getThrowable()
Throwable type for which to invoke this exit advice or a description of NoExceptionHandler
if this exit advice does not expect to be invoked upon any throwable.Advice.ArgumentHandler.Factory getArgumentHandlerFactory()
Advice.ArgumentHandler.Advice.ArgumentHandler.Advice.Dispatcher.Bound.ForMethodExit bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler)
Advice.Dispatcher.Resolvedbind in interface Advice.Dispatcher.ResolvedinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.methodVisitor - The method visitor for writing the instrumented method.implementationContext - The implementation context to use.assigner - The assigner to use.argumentHandler - A handler for accessing values on the local variable array.methodSizeHandler - A handler for computing the method size requirements.stackMapFrameHandler - A handler for translating and injecting stack map frames.exceptionHandler - The stack manipulation to apply within a suppression handler.Copyright © 2014–2018. All rights reserved.