protected static interface Advice.Dispatcher
Modifier and Type | Interface and Description |
---|---|
static interface |
Advice.Dispatcher.Bound
A bound resolution of an advice method.
|
static class |
Advice.Dispatcher.Delegating
A dispatcher for an advice method that is being invoked from the instrumented method.
|
static class |
Advice.Dispatcher.Inactive
An implementation for inactive devise that does not write any byte code.
|
static class |
Advice.Dispatcher.Inlining
A dispatcher for an advice method that is being inlined into the instrumented method.
|
static interface |
Advice.Dispatcher.RelocationHandler
A relocation handler is responsible for chaining the usual control flow of an instrumented method.
|
static interface |
Advice.Dispatcher.Resolved
Represents a resolved dispatcher.
|
static interface |
Advice.Dispatcher.SuppressionHandler
A suppression handler for optionally suppressing exceptions.
|
static interface |
Advice.Dispatcher.Unresolved
A dispatcher that is not yet resolved.
|
Modifier and Type | Field and Description |
---|---|
static AnnotationVisitor |
IGNORE_ANNOTATION
Expresses that an annotation should not be visited.
|
static MethodVisitor |
IGNORE_METHOD
Indicates that a method does not represent advice and does not need to be visited.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
getAdviceType()
The type that is produced as a result of executing this advice method.
|
boolean |
isAlive()
Returns
true if this dispatcher is alive. |
static final MethodVisitor IGNORE_METHOD
static final AnnotationVisitor IGNORE_ANNOTATION
boolean isAlive()
true
if this dispatcher is alive.true
if this dispatcher is alive.TypeDefinition getAdviceType()
Copyright © 2014–2020. All rights reserved.