public static interface Advice.ArgumentHandler
Modifier and Type | Interface and Description |
---|---|
static class |
Advice.ArgumentHandler.Factory
A factory for creating an argument handler.
|
static interface |
Advice.ArgumentHandler.ForAdvice
An argument handler that is used for resolving an advice method.
|
static interface |
Advice.ArgumentHandler.ForInstrumentedMethod
An argument handler that is used for resolving the instrumented method.
|
Modifier and Type | Field and Description |
---|---|
static int |
THIS_REFERENCE
The offset of the
this reference. |
Modifier and Type | Method and Description |
---|---|
int |
argument(int offset)
Resolves an offset relative to an offset of the instrumented method.
|
int |
enter()
Resolves the offset of the enter value of the enter advice.
|
int |
returned()
Resolves the offset of the returned value of the instrumented method.
|
int |
thrown()
Resolves the offset of the thrown exception of the instrumented method.
|
static final int THIS_REFERENCE
this
reference.int argument(int offset)
offset
- The offset to resolve.int enter()
int returned()
int thrown()
Copyright © 2014–2018. All rights reserved.