public interface Instrumentation
The program instrumentor implementation should return an intrumentation instance for each intrumentation which is performed.
Instrumentor
限定符和类型 | 字段和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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()