protected static class Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler extends Advice.Dispatcher.Inlining.Resolved.ForMethodExit
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.AdviceMethodInliner, Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler, Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler
Advice.Dispatcher.Inlining.Resolved.ForMethodEnter, Advice.Dispatcher.Inlining.Resolved.ForMethodExit
Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved
adviceMethod, classReader, offsetMappings, suppressionHandler
IGNORE_ANNOTATION, IGNORE_METHOD
Modifier | Constructor and Description |
---|---|
protected |
WithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod,
List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
TypeDefinition enterType)
Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.
|
Modifier and Type | Method and Description |
---|---|
protected StackSize |
getPadding()
Returns the additional padding this exit advice implies.
|
TypeDescription |
getThrowable()
Returns the type of throwable for which this exit advice is supposed to be invoked.
|
apply, bind, equals, hashCode, of
isAlive
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isAlive
protected WithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, ClassReader classReader, TypeDefinition enterType)
adviceMethod
- The represented advice method.userFactories
- A list of user-defined factories for offset mappings.classReader
- A class reader to query for the class file of the advice method.enterType
- The type of the value supplied by the enter advice method or
a description of void
if no such value exists.protected StackSize getPadding()
Advice.Dispatcher.Inlining.Resolved.ForMethodExit
getPadding
in class Advice.Dispatcher.Inlining.Resolved.ForMethodExit
public TypeDescription getThrowable()
Advice.Dispatcher.Resolved.ForMethodExit
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–2017. All rights reserved.