Package org.aopalliance.instrument
Interface Instrumentation
-
public interface InstrumentationThis interface represents an instrumentation on the base program.The program instrumentor implementation should return an intrumentation instance for each intrumentation which is performed.
- See Also:
Instrumentor
-
-
Field Summary
Fields Modifier and Type Field Description static intADD_AFTER_CODEAfter code adding instrumentation type.static intADD_BEFORE_CODEBefore code instrumentation type.static intADD_CLASSClass adding instrumentation type.static intADD_INTERFACEInterface adding instrumentation type.static intADD_METADATAMetadata adding instrumentation type.static intSET_SUPERCLASSSuperclass setting instrumentation type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocatorgetLocation()Returns the location of this instrumentation.intgetType()Gets the instrumentation type.
-
-
-
Field Detail
-
ADD_INTERFACE
static final int ADD_INTERFACE
Interface adding instrumentation type.- See Also:
- Constant Field Values
-
SET_SUPERCLASS
static final int SET_SUPERCLASS
Superclass setting instrumentation type.- See Also:
- Constant Field Values
-
ADD_CLASS
static final int ADD_CLASS
Class adding instrumentation type.- See Also:
- Constant Field Values
-
ADD_BEFORE_CODE
static final int ADD_BEFORE_CODE
Before code instrumentation type.- See Also:
- Constant Field Values
-
ADD_AFTER_CODE
static final int ADD_AFTER_CODE
After code adding instrumentation type.- See Also:
- Constant Field Values
-
ADD_METADATA
static final int ADD_METADATA
Metadata adding instrumentation type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLocation
Locator getLocation()
Returns the location of this instrumentation.
-
getType
int getType()
Gets the instrumentation type.- Returns:
- ADD_INTERFACE | SET_SUPERCLASS | ADD_CLASS | ADD_AFTER_CODE | ADD_BEFORE_CODE | ADD_AROUND_CODE | ADD_METADATA
-
-