Package net.bytebuddy.asm
Interface Advice.Dispatcher.Resolved.ForMethodExit
- All Superinterfaces:
Advice.Dispatcher,Advice.Dispatcher.Resolved
- All Known Implementing Classes:
Advice.Dispatcher.Delegating.Resolved.ForMethodExit,Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithExceptionHandler,Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithoutExceptionHandler,Advice.Dispatcher.Inactive,Advice.Dispatcher.Inlining.Resolved.ForMethodExit,Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler,Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler
- Enclosing interface:
Advice.Dispatcher.Resolved
Represents a resolved dispatcher for exiting a method.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.Dispatcher
Advice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.RelocationHandler, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.UnresolvedNested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.Dispatcher.Resolved
Advice.Dispatcher.Resolved.AbstractBase, Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExit -
Field Summary
Fields inherited from interface net.bytebuddy.asm.Advice.Dispatcher
IGNORE_ANNOTATION, IGNORE_METHOD -
Method Summary
Modifier and TypeMethodDescriptionReturns a factory for creating anAdvice.ArgumentHandler.Returns the type of throwable for which this exit advice is supposed to be invoked.Methods inherited from interface net.bytebuddy.asm.Advice.Dispatcher
getAdviceType, isAliveMethods inherited from interface net.bytebuddy.asm.Advice.Dispatcher.Resolved
bind, getNamedTypes
-
Method Details
-
getThrowable
TypeDescription getThrowable()Returns the type of throwable for which this exit advice is supposed to be invoked.- Returns:
- The
Throwabletype for which to invoke this exit advice or a description ofAdvice.NoExceptionHandlerif this exit advice does not expect to be invoked upon any throwable.
-
getArgumentHandlerFactory
Advice.ArgumentHandler.Factory getArgumentHandlerFactory()Returns a factory for creating anAdvice.ArgumentHandler.- Returns:
- A factory for creating an
Advice.ArgumentHandler.
-