protected static class Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithoutExceptionHandler extends Advice.Dispatcher.Delegating.Resolved.ForMethodExit
Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithExceptionHandler, Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithoutExceptionHandler
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter, Advice.Dispatcher.Delegating.Resolved.ForMethodEnter, Advice.Dispatcher.Delegating.Resolved.ForMethodExit
Advice.Dispatcher.Resolved.AbstractBase, Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.RelocationHandler, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved
adviceMethod, offsetMappings, relocationHandler, suppressionHandler
IGNORE_ANNOTATION, IGNORE_METHOD
Modifier | Constructor and Description |
---|---|
protected |
WithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod,
Map<String,TypeDefinition> namedTypes,
List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
TypeDefinition enterType)
Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription |
getThrowable()
Returns the type of throwable for which this exit advice is supposed to be invoked.
|
getAdviceType, getArgumentHandlerFactory, of, resolve
bind
isAlive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bind
isAlive
protected WithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Map<String,TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType)
adviceMethod
- The represented advice method.namedTypes
- A mapping of all available local variables by their name to their type.userFactories
- A list of user-defined factories for offset mappings.enterType
- The type of the value supplied by the enter advice method or
a description of void
if no such value exists.public TypeDescription 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.Copyright © 2014–2019. All rights reserved.