protected static class Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler extends Advice.Dispatcher.Inlining.Resolved.ForMethodExit
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler, Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner, 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.OffsetMapping, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved
adviceMethod, offsetMappings, suppressionHandler
IGNORE_ANNOTATION, IGNORE_METHOD
Modifier | Constructor and Description |
---|---|
protected |
WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod,
List<? extends Advice.Dispatcher.OffsetMapping.Factory> userFactories,
byte[] binaryRepresentation,
TypeDescription enterType)
Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.
|
Modifier and Type | Method and Description |
---|---|
protected StackSize |
getPadding()
Returns the additional padding this exit advice implies.
|
boolean |
isSkipThrowable()
Indicates if this advice requires to be called when the instrumented method terminates exceptionally.
|
String |
toString() |
apply, equals, hashCode, of
bind, isAlive
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
bind
isAlive
protected WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, List<? extends Advice.Dispatcher.OffsetMapping.Factory> userFactories, byte[] binaryRepresentation, TypeDescription enterType)
adviceMethod
- The represented advice method.userFactories
- A list of user-defined factories for offset mappings.binaryRepresentation
- The binary representation 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 boolean isSkipThrowable()
Advice.Dispatcher.Resolved.ForMethodExit
true
if this advice requires to be called when the instrumented method terminates exceptionally.Copyright © 2014–2016. All rights reserved.