@HashCodeAndEqualsPlugin.Enhance public abstract static class Advice.Dispatcher.Resolved.AbstractBase extends Object implements Advice.Dispatcher.Resolved
Advice.OffsetMapping.ForArgument.Resolved dispatcher.Advice.Dispatcher.Resolved.AbstractBase, Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.RelocationHandler, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved| Modifier and Type | Field and Description |
|---|---|
protected MethodDescription.InDefinedShape |
adviceMethod
The represented advice method.
|
protected Map<Integer,Advice.OffsetMapping> |
offsetMappings
A mapping from offset to a mapping for this offset with retained iteration order of the method's parameters.
|
protected Advice.Dispatcher.RelocationHandler |
relocationHandler
The relocation handler to use.
|
protected Advice.Dispatcher.SuppressionHandler |
suppressionHandler
The suppression handler to use.
|
IGNORE_ANNOTATION, IGNORE_METHOD| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBase(MethodDescription.InDefinedShape adviceMethod,
List<? extends Advice.OffsetMapping.Factory<?>> factories,
TypeDescription throwableType,
TypeDescription relocatableType,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new resolved version of a dispatcher.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAlive()
Returns
true if this dispatcher is alive. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbindgetAdviceTypeprotected final MethodDescription.InDefinedShape adviceMethod
protected final Map<Integer,Advice.OffsetMapping> offsetMappings
protected final Advice.Dispatcher.SuppressionHandler suppressionHandler
protected final Advice.Dispatcher.RelocationHandler relocationHandler
protected AbstractBase(MethodDescription.InDefinedShape adviceMethod, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, Advice.OffsetMapping.Factory.AdviceType adviceType)
adviceMethod - The represented advice method.factories - A list of factories to resolve for the parameters of the advice method.throwableType - The type to handle by a suppression handler or NoExceptionHandler to not handle any exceptions.relocatableType - The type to trigger a relocation of the method's control flow or void if no relocation should be executed.adviceType - The applied advice type.public boolean isAlive()
true if this dispatcher is alive.isAlive in interface Advice.Dispatchertrue if this dispatcher is alive.Copyright © 2014–2019. All rights reserved.