public interface Instrumentation
The program instrumentor implementation should return an intrumentation instance for each intrumentation which is performed.
Instrumentor| Modifier and Type | Field | Description |
|---|---|---|
static int |
ADD_AFTER_CODE |
After code adding instrumentation type.
|
static int |
ADD_BEFORE_CODE |
Before code instrumentation type.
|
static int |
ADD_CLASS |
Class adding instrumentation type.
|
static int |
ADD_INTERFACE |
Interface adding instrumentation type.
|
static int |
ADD_METADATA |
Metadata adding instrumentation type.
|
static int |
SET_SUPERCLASS |
Superclass setting instrumentation type.
|
| Modifier and Type | Method | Description |
|---|---|---|
Locator |
getLocation() |
Returns the location of this instrumentation.
|
int |
getType() |
Gets the instrumentation type.
|
static final int ADD_INTERFACE
static final int SET_SUPERCLASS
static final int ADD_CLASS
static final int ADD_BEFORE_CODE
static final int ADD_AFTER_CODE
static final int ADD_METADATA
Locator getLocation()
int getType()